#FutureCSS - The AMAZING Prefers-Color-Scheme - Native Dark Mode

DesignCourse on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI15 min

About this video

A short CSS tutorial introducing the prefers-color-scheme property, which lets a site serve light or dark styles based on the visitor's device colour preference. It is part of a series on new CSS properties.

What you’ll learn

  • Apply prefers-color-scheme media queries to switch a site between light and dark styles
  • Explain how device colour mode preferences reach a website's CSS