🎓 View our courses: https://scrimba.com/links/all-courses
In this video, we learn how to change a CSS variable using JavaScript.
CSS variables (aka custom properties) are a big win for front-end developers. They provide the power of variables to CSS, which results in less repetition, better readability and more flexibility.
Unlike variables from CSS preprocessors, CSS variables are a part of the DOM, which has many benefits.
💻 Check out the CSS variables course on Scrimba’s interactive learning platform: https://scrimba.com/learn/cssvariables
🌲 Linktree:
https://scrimba.com/links/linktree
On this page of the site you can watch the video online Changing CSS variables with JavaScript (CSS custom properties) with a duration of hours minute second in good quality, which was uploaded by the user Scrimba 16 June 2022, share the link with friends and acquaintances, this video has already been watched 7,957 times on youtube and it was liked by 164 viewers. Enjoy your viewing!