
No more specificity issues?! (or all new ones š¤) - A look at CSS Cascade Layers
By Kevin Powell on youtube.com
More about this content:
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 ā My video on Specificity: https://youtu.be/c0kfcP_nD9E ā Timestamps 00:00 - Introduction 01:14 - Specificity issues 04:22 - Creating our first layer 05:16 - Traditional CSS layers 07:30 - CSS Layers are like sub-layers of the author layer 07:44 - What happens when something isn't in a layer? 08:07 - Creating multiple layers 11:04 - What happens when we use the same layer in two difference places 12:13 - Declaring the order first, then using them later 14:00 - !important flips things around #css -- Come hang out with other dev's in my Discord Community š¬ https://discord.gg/nTYCvrK Keep up to date with everything I'm up to ā https://www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! šŗ https://www.twitch.tv/kevinpowellcss --- Help support my channel šØāš Get a course: https://www.kevinpowell.co/courses š Buy a shirt: https://teespring.com/stores/making-the-internet-awesome š Support me on Patreon: https://www.patreon.com/kevinpowell --- My editor: VS Code - https://code.visualstudio.com/ --- I'm on some other places on the internet too! If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter. Twitter: https://twitter.com/KevinJPowell Codepen: https://codepen.io/kevinpowell/ Github: https://github.com/kevin-powell --- And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Explore below learning paths to discover the previous and next steps for understanding this concept.
Albert Bertelsen
Adobe Photoshop Essential
Curated From:
Jurgen Kunze
Web Design with HTML & CSS for beginners
Curated From:
Ajay Yadav
A Complete Guide To CSS
Curated From: