Channel: Kevin Powell
Category: Education
Tags: csscss shorthanddon't use css shorthandsscalable csscommon css problemsimprove cssstop using css shorthandscss shorthandscss problemscss maintainablehtmltutorialbetter cssfront-endfrontend
Description: Interesting in my upcoming course Beyond CSS? Sign up for updates and don't miss the launch: beyondcss.dev Shorthands in CSS can serve a purpose, but it's important to know the potential issues that can arise when we use them! 🔗 Links ✅ The ch unit: youtube.com/watch?v=dgbFtMBOMlA ✅ Logical properties: youtu.be/kzvmaVik4mA ✅ More on inset: youtu.be/8mv1HJgh6-o ⌚ Timestamps 00:00 - Introduction 00:36 - The background property causing trouble 01:20 - Why it's a problem 02:10 - Fixing it with the longhand 02:28 - Margin shorthand causing problems 04:36 - Fixing the margin issue 06:34 - The inset shorthand for positioning 07:45 - When it's alright to use shorthands #css -- Come hang out with other dev's in my Discord Community 💬 discord.gg/nTYCvrK Keep up to date with everything I'm up to ✉ kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! 📺 twitch.tv/kevinpowellcss --- Help support my channel 👨🎓 Get a course: kevinpowell.co/courses 👕 Buy a shirt: teespring.com/stores/making-the-internet-awesome 💖 Support me on Patreon: patreon.com/kevinpowell --- My editor: VS Code - 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: twitter.com/KevinJPowell Codepen: codepen.io/kevinpowell Github: 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!