tubeshowcaseโ—1,071,433 videosโ™ก My collection 0
โ† Learn to Code

Learn to Code03:40

Creating squishy padding and margin that adapt to the viewport

Kevin Powell โ†—

From the creator

Modern CSS features like min(), max(), and clamp(), along with viewport units, are incredibly robust. ๐Ÿ”— Links โœ… My deeper look at min(), max(), and clamp(): https://youtu.be/U9VF-4euyRo โœ… My video on logical properties: https://youtu.be/kzvmaVik4mA โŒš Timestamps 00:00 - Introduction 00:53 - Using padding-block 01:32 - Using min() #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!

Published 2021-08-03 ยท Watch on YouTube โ†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code