Duration
3 min
Access
Free
Transcript
Available

Learn how to define and use a CSS custom property (also called CSS variable). We'll look at the difference between global and scoped custom properties. And we'll see how using local variables for element states - in this case, a:hover - allows extending default CSS capabilities by enabling overriding the :hover color via an inline style.