tubeshowcase●1,669,063 videos♡ My collection 0
← Learn to Code

Learn to Code09:55

Please, don’t use viewport units for font sizes

Kevin Powell ↗

From the creator

Start writing CSS with confidence with my course CSS Demystified: https://cssdemystified.com When people find out about viewport units, one of the first things they often do with them is create fluid type, but there are some problems that can cause. In this video, I look at why we shouldn’t use viewport units for our font sizes, how we can use clamp(), and how using a tool like Utopia makes figuring it all out a lot easier. 🔗 Links ✅ Utopia: https://utopia.fyi ⌚ Timestamps 00:00 - Introduction 00:21 - Why you shouldn’t use viewport units for font-size 02:00 - Using clamp() 04:00 - Using viewport units is hard to get right 04:50 - Utopia’s type size calculator 08:00 - Writing CSS with confidence 08:48 - A bit more on Utopia #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 📽️ Join as a channel member: https://youtube.com/@KevinPowell/join 💖 Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: Join this channel to get access to perks: https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw/join --- My editor: VS Code - https://code.visualstudio.com/ --- I'm on some other

Published 2024-10-11 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code