CSS Variables

This lesson introduces CSS variables and how we'll use them in our themes.

Note: If you need a quick refresher about CSS variables, check this shot.

Inheritance #

CSS variables (also called custom properties) have one special feature that makes them perfect for our theming needs. CSS variables are inherited.

Consider the following example:

Get hands-on with 1000+ tech skills courses.