How to override a CSS variable | Custom property

Опубликовано: 17 Октябрь 2024
на канале: Scrimba
2,531
31

🎓 View our courses: https://scrimba.com/links/all-courses

Overriding CSS variables is handy if you want modify a variable inside a certain scope of your app.

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 this course on Scrimba’s interactive learning platform: https://scrimba.com/learn/cssvariables

🌲 Linktree:
https://scrimba.com/links/linktree