Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript set css after property

/*Its Not possible to directly access pseudo-elements ":before|:after"
with Javascript because they're not part of the DOM. 

One workaround could be changing an elements class
to one that has different pseudo-elments or you could always refactor
to not use pseudo-elments */
 
PREVIOUS NEXT
Tagged: #javascript #set #css #property
ADD COMMENT
Topic
Name
8+9 =