anyone knows where i can read about cascade layers
https://www.youtube.com/watch?v=NDNRGW-_1EE
in this video kevin mentions 3 layers and i want to know where can i get info on the 3 layers and how he knows about them ( since i never heard of them even remotely being mentioned almost anywhere).
Kevin Powell
YouTube
No more specificity issues?! (or all new ones š¤) - A look at CSS Ca...
Cascade layers are pretty much here, so it's time to learn how they work!
š Links
ā
Stephanie Eckles article: https://www.smashingmagazine.com/2022/01/introduction-css-cascade-layers/
ā
Bramus' article: https://www.bram.us/2021/09/15/the-future-of-css-cascade-layers-css-at-layer/
ā
Una's video: https://www.youtube.com/watch?v=ilrPpSQJb3U
ā
...
5 Replies
https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Cascade_layers when in doubt, MDN
Cascade layers - Learn web development | MDN
If you understood most of this article, then well done ā you're now familiar with the fundamental mechanics of CSS cascade layers. Next up, we'll look at selectors in detail.
oh okay kevin got it from there right? there is no place that has info that is like too complex to find on mdn right?
I have no idea where Kevin learned about cascade layers, probably not this article though, cause it was first committed to their github this year...
MDN has a lot of good info, and it's almost always correct. Not really sure what you mean by "too complex to find on mdn" though
its okay i will read it i just am curious howkevin knew about it
you can have as much as layers you want and name them what ever you want.
Kevin knows about the feature because he stays up to date with what ever is going on with css and what will be added in future specs.