tubeshowcase●1,671,057 videos♡ My collection 0
← Learn to Code

Learn to Code17:44

No more specificity issues?! (or all new ones 🤔) - A look at CSS Cascade Layers

Kevin Powell ↗

From the creator

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 sce

Published 2022-02-08 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code