Listen ":root isn’t global"
Episode Synopsis
Most developers prefer to keep all their CSS custom properties in one place, and a pattern that has emerged in recent years is to put those on :root, a pseudo-class that targets the topmost element in your document (so that's always <html> on web pages). But just because they're in one place and in the […]
The post :root isn’t global first appeared on Kilian Valkhof.
The post :root isn’t global first appeared on Kilian Valkhof.
More episodes of the podcast Kilian Valkhof
Pixel with purpose podcast
25/04/2025
Advent Calendars
06/01/2025
An outline version of the new CSS logo
20/11/2024
How I automate electron-to-chromium updates
26/08/2024
ConTejas Code Podcast
21/08/2024
JS Party podcast: Polypane-demonium
21/06/2024
Your page can’t change media features
23/04/2024
The gotchas of CSS Nesting
13/06/2023
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.