37:44These CSS best practices might be holding you back
From the creator
π CSS Demystified: https://cssdemystified.com?utm_campaign=general&utm_source=youtube&utm_medium=bestpractices Weβre told about a lot of CSS best practices early on, and while some of them can be very useful, I feel like many of them are more like training wheels that are there so we can focus on other stuff, and eventually itβs a good idea to take them off! π Links β The Space Tourism project: https://youtu.be/HbBMp6yUXO0 β CSS Demystified: https://cssdemystified.com?utm_campaign=general&utm_source=youtube&utm_medium=bestpractices β Timestamps 00:00 - Introduction 00:30 - A lot of best practices are like training wheels 01:50 - Class selectors for everything 03:18 - Never use ID selectors 06:30 - Descendant selectors 10:00 - Never use em for font-size 12:57 - Going back over the basics 14:40 - Mobile first 18:37 - !important 21:30 - Any others? #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 prev
Published 2023-08-22 Β· Watch on YouTube β
Availability and playback restrictions are controlled by the original channel.





