tubeshowcase●1,670,700 videos♡ My collection 0
← Learn to Code

Learn to Code15:09

Animate and do math on things like height: auto with interpolate-size and calc-size()

Kevin Powell ↗

From the creator

The article: https://12daysofweb.dev/2024/calc-size-and-interpolate-size/ Check out the 12 days of web! https://12daysofweb.dev Get a YT membership: Join this channel to get access to perks: https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw/join ⌚ Timestamps 00:00 - Introduction 00:40 - 12 days of web 01:45 - interpolate-size 02:40 - put interpolate-size on your html selector 04:10 - why this isn’t the new default 05:30 - works with keywords other than focus 06:25 - using it as a progressive enhancement 07:20 - it works with animations too 09:20 - calc-size() 13:20 - how to pick which one to use #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 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

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

Keep exploring Learn to Code