How to replace ^foo
by ^bar
in a CSS tag ?
For instance, I have <p>foo Hello World!</p>
, is it possible to replace it by <p>bar Hello World!</p>
using CSS only (without javascript) ?
What I'd like is actually to automatically replace the first line by the second one,
becoming →
:
<p> Hello World!</p>
<p>→ Hello World!</p>
With the arrow →
set like this:
{
content: "→ ";
font-weight: bold;
font-size: 1em;
color:#DD4C4F;
font-family: sans-serif;
}
foo Hello World!
, is it possible to replace it bybar Hello World!
using CSS " what would be the trigger for the change? – Emmanuel Neni Oct 08 '20 at 10:26