Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to insert icons pseudo content

var js = document.querySelectorAll( ".js" );
js[ 0 ].setAttribute( "data-icon", "u0086" );
js[ 1 ].setAttribute( "data-icon", "†" );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #insert #icons #pseudo #content
ADD COMMENT
Topic
Name
1+2 =