Handy CSS layout patterns, and fun ways to elevate them

Kevin Powell ยท Beginner ยท๐ŸŒ Frontend Engineering ยท1d ago
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

Related AI Lessons

โšก
โœจ One HTML file. No backend. No sign-up. Your data never leaves your browser.
Build a web application with one HTML file, no backend, and no sign-up, keeping user data private and secure within the browser.
Dev.to ยท Balaji K
โšก
Rendering Is a Browser Decision, Not a JavaScript One
Learn how browsers, not JavaScript, decide rendering and improve your understanding of the JavaScript execution process
Dev.to ยท Marsha Teo
โšก
Why Most React Infinite Scroll Hooks Fail in Production (and the One That Fixed It for Me)
Learn why most React infinite scroll hooks fail in production and how to fix them
Dev.to ยท Shubhra Pokhariya
โšก
Micro-Frontends: The Complete Architecture Guide for 2026
Learn micro-frontend architecture with Module Federation and single-spa for scalable and efficient frontend development
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
Up next
What Happens When You Click? JS vs. React โš”๏ธ
Arivi by HCL GUVI
Watch โ†’