tent: none;
}
#target.replaced {
  content: url('resources/rect.svg');
}
</style>

<div id="target">This text should not be visible</div>

<script>
const target = document.getElementById("target");
getComputedStyle(target).width;
target.className = "replaced";
</script>
