Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Set CSS styles with javascript

document.getElementById('target').style.color = 'tomato';
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #Set #CSS #styles #javascript
ADD COMMENT
Topic
Name
7+9 =