CSS @property: Smarter CSS Variables
The CSS @property rule lets you define custom properties with explicit types, inheritance controls, and default values.
The CSS @property rule lets you define custom properties with explicit types, inheritance controls, and default values.
Use the prefers-color-scheme media query in CSS to add dark mode to your website.