Get more out of custom properties

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI13 min

About this video

A CSS tutorial showing how custom properties can go beyond simple variables, including using them for colour themes and making easy adjustments with media queries. It suits front-end developers and designers who already write CSS.

What you’ll learn

  • Build a colour theme system with CSS custom properties
  • Adjust custom property values across breakpoints with media queries
  • Apply custom properties to style components beyond simple variables