Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

style before javascript

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

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