CSS is, where, and has pseudo classes

standardized and give us some great abilities and efficiencies.

:is and :where let us group common parent or child selectors making our CSS easier to read and write.
:has provides us with a way to target parent elements for styling based on conditions that we define.
The existing :not pseudo class can be combined with these to add more flexibility.

Great tutorial by https://m.youtube.com/c/SteveGriffith-Prof3ssorSt3v3

3 Likes