Length 7:03Turning off inheritance on custom props is more useful than I'd thought
About this video
A short CSS tutorial explaining why you might turn off inheritance for custom properties and how the ModernCSS approach of registering custom properties with @property helps. It is aimed at developers who already write CSS.
What you’ll learn
- Explain how inheritance works for CSS custom properties
- Stop a custom property from inheriting its parent value with @property
- Register custom properties with type definitions in CSS










