Answers for "change value in :root css"

1

change root color js

document.documentElement.style.setProperty('--your-variable', '#YOURCOLOR');
Posted by: Guest on January-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language