I have a <p class="hidden"></p>
with some text in it. I want to replace all characters in the paragraph with the same character, e.g. a question mark. Note that this is not a viable solution since it requires to specify aprioristically the length of the new string:
.hidden {
text-indent: -9999px;
line-height: 0;
}
.hidden::after {
content: "???";
}
As a way of example:
<p>Just some text!</p>
<p class="hidden">Hello, world!</p>
Should be rendered:
Just some text!
?????????????