JSFiddle - React, Tailwind, and code Playground
by Amal Das
HTML
<p>
</p>
CSS
p:after{
content:"text"
}
JavaScript
console.log(window.getComputedStyle(document.getElementsByTagName('p')[0],'after').content);
by Amal Das
<p>
</p>
p:after{
content:"text"
}
console.log(window.getComputedStyle(document.getElementsByTagName('p')[0],'after').content);