loading...
Cover image for Changing CSS with JavaScript

Changing CSS with JavaScript

giandodev profile image GiandoDev ・1 min read

I use two ways to change the css via JS:

element.style.cssProperty = value

or

element.style.setProperty(cssProperty, value)

Alt Text

Discussion

markdown guide