Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change css variable with javascript

document.documentElement.style.setProperty("--tab-count", 5);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #css #variable #javascript
ADD COMMENT
Topic
Name
2+4 =