In this video, we take a look at how inheritance works with CSS variables.
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: scrimba.com/learn/cssvariables
🌲 Linktree:
scrimba.com/links/linktree
コメント