Answers for "style after javascript"

1

style after javascript

var styleElem = document.head.appendChild(document.createElement("style"));

styleElem.innerHTML = "#YOUR_DIV:after {background: black;}";
Posted by: Guest on April-30-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language