Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

style after javascript

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

styleElem.innerHTML = "#YOUR_DIV:after {background: black;}";
 
PREVIOUS NEXT
Tagged: #style #javascript
ADD COMMENT
Topic
Name
8+2 =