Skip to content

Categories

CSS

Layout tricks, modern selectors and everything else that makes pages look right.

2 min read

Dark Mode with CSS Custom Properties

Build a dark theme that follows the system setting and can be toggled by hand, with a few lines of CSS.

  • #Dark Mode
  • #Custom Properties