So I have an h1 tag in my html, with text in it.
<h1>123</h1>
h1:before{
content:"?????";
}
Now I want this text to be used in my css before pseudo class, and the text is dynamic, it will be changed during the runtime of the app, so it's not static. I need the before content always reflect the current inner text.
Help?