Handy CSS layout patterns, and fun ways to elevate them
Skills:
HTML & CSS80%
๐ Start writing CSS with confidence with my course CSS Demystified: https://thecascade.dev/courses/css-demystified/?utm_source=youtube&utm_medium=social&utm_campaign=regular-video
๐ Links
โ
Code from this video: https://codepen.io/editor/kevinpowell/pen/019dab2d-dfd3-7988-86c5-69986ea33e4c
โ
More info on corner shape: https://frontendmasters.com/blog/understanding-css-corner-shape-and-the-power-of-the-superellipse/
โ
The difference between auto-fit and auto-fill: https://youtu.be/OZ6qKoq7RJU
โ
More on scroll-driven animations: https://www.youtube.com/watch?v=UmzFk68Bwdk
โ Keep up to date with everything I'm up to https://www.kevinpowell.co/newsletter
๐ฌ Come hang out with other devs in my Discord Community https://discord.gg/nTYCvrK
โญ Are you a beginner? HTML & CSS for absolute beginners is for you: https://learn.kevinpowell.co
๐ Start writing CSS with confidence with CSS Demystified: [https://cssdemystified.com](https://cssdemystified.com/)
๐ Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/
โ Timestamps
00:00 - Introduction
00:20 - overscroll scroller
05:05 - auto-grid and preventing overflow with it
09:30 - adaptive layouts with container queries
13:09 - CSS Demystified
13:53 - bonus: scooped corners
15:08 - bonus: overscroll animation with scroll-driven animation
#css
---
Help support my channel
๐จโ๐ Get a course: https://www.kevinpowell.co/courses
๐ Buy a shirt: https://cottonbureau.com/people/kevin-powell
๐ Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: https://youtube.com/@kevinpowell/join
---
๐งโ๐ป My editor: VS Code - https://code.visualstudio.com/
๐ My theme: One Dark Pro Var Night
๐ค My font: Cascadia Code
---
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:
Bluesky: https://bsky.app/profile/kevinpowell.co
Codepen: https://codepen.io/kevinpowell/
Github: https://github.
Watch on YouTube โ
(saves to browser)
Sign in to unlock AI tutor explanation ยท โก30
More on: HTML & CSS
View skill โRelated AI Lessons
โก
โก
โก
โก
โจ One HTML file. No backend. No sign-up. Your data never leaves your browser.
Dev.to ยท Balaji K
Rendering Is a Browser Decision, Not a JavaScript One
Dev.to ยท Marsha Teo
Why Most React Infinite Scroll Hooks Fail in Production (and the One That Fixed It for Me)
Dev.to ยท Shubhra Pokhariya
Micro-Frontends: The Complete Architecture Guide for 2026
Dev.to ยท Mahdi BEN RHOUMA
Chapters (7)
Introduction
0:20
overscroll scroller
5:05
auto-grid and preventing overflow with it
9:30
adaptive layouts with container queries
13:09
CSS Demystified
13:53
bonus: scooped corners
15:08
bonus: overscroll animation with scroll-driven animation
๐
Tutor Explanation
DeepCamp AI