Under the radar CSS features for your CSS reset
Channel: Kevin Powell
Date: 2024-01-05

Looking to up your CSS game? I’ve got free and premium courses: 👉https://kevinpowell.co/courses?utm_campaign=general&utm_source=youtube&utm_medium=newresetfeatures

Most people worry about setting a blank stage and browser parity when using a CSS reset, but there are a lot of more subtle improvements we can add as well!

🔗 Links
✅ Chris Coyier’s post on hanging-punctuation: https://chriscoyier.net/2023/11/27/the-hanging-punctuation-property-in-css/
✅ The MDN article on hanging-punctuation: https://developer.mozilla.org/en-US/docs/Web/CSS/hanging-punctuation
✅ The finished code from this video: https://codepen.io/kevinpowell/pen/abMdOpp
✅ How to test Safari on a Windows computer: https://youtu.be/pRpsi1Z5YY0

⌚ Timestamps
00:00 - Introduction
00:20 - A simple starting point
00:45 - text-wrap: balance
01:30 - text-wrap: pretty and max-width on paragraphs
04:00 - :has(:target) scroll-behavior: smooth
06:10 - scroll-padding-top
07:40 - what would you include?
08:12 - hanging-punctuation

#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!