Syntax - Tasty Web Development Treats cover image

What's New in CSS? Variables, Scoping, New Selectors and Color Functions

Syntax - Tasty Web Development Treats

00:00

Scope Selectors in CSS

The scope selector is a potentially empty set of elements that provide a reference point for selectors to match against such as that has been specified by query selector all. What you can do is just say colon scope background color red, and then that CSS is kind of like style components or we'll go back to the react. We also have valid invalid again for form inputs, has scope in range out of range. We have some for grid structural pseudo classes, like column selector. And I think a lot of these are actually in the browser right now, like not every time.

Play episode from 38:15
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app