tubeshowcase●1,071,662 videosβ™‘ My collection 0
← Learn to Code

Learn to Code23:28

These CSS best practices might be holding you back

Kevin Powell β†—

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.

Keep exploring Learn to Code