New way to handle light/dark themes with CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateUI1 min

About this video

A short CSS tutorial introducing the light-dark() function, which makes it easier to define light and dark colour themes.

What you’ll learn

  • Set light and dark colour values with the light-dark() function