I've written before about the problems you can run into with CSS nesting (keep in mind that article uses an older syntax but the point still stands) and the question that @ChallengeCSS tweeted out today made me realize there's actually a few more gotcha's. Here's what they tweeted: Everyone is exited about CSS Nesting but […]| Kilian Valkhof | Front-end & user experience developer
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 on web pages). But just because they're in one place and in the […]| Kilian Valkhof | Front-end & user experience developer