Episode Synopsis ":root isn’t global"
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.
Listen ":root isn’t global"
More episodes of the podcast Kilian Valkhof
- Pixel with purpose podcast
- Advent Calendars
- An outline version of the new CSS logo
- How I automate electron-to-chromium updates
- ConTejas Code Podcast
- JS Party podcast: Polypane-demonium
- The problem with new URL(), and how URL.parse() fixes that
- Your page can’t change media features
- The gotchas of CSS Nesting
- :root isn’t global