GiandoDev Posted on May 16, 2020 Changing CSS with JavaScript #javascript #beginners I use two ways to change the css via JS: element.style.cssProperty = value or element.style.setProperty(cssProperty, value) Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand This Dot Media This Dot Media This Dot Media Follow This Dot provides teams with technical leaders who bring deep knowledge of the web platform. We help teams set new standards, and deliver results predictably. Location Online Joined Nov 28, 2018 • May 18 '20 Dropdown menu Copy link Hide Thanks Giando 😊 Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Thanks Giando 😊