Let CSS figure out the layout

Kevin Powell Official Youtube Channel by 2 min read 512x views
Let CSS figure out the layout

Share Post

Let CSS fig out the layout

πŸ‘‰ Start penning CSS alongside confidence alongside CSS Demystified: https://thecascade.dev/courses/css-demystified/?utm_source=youtube&utm_medium=social&utm_campaign=regular-video&utm_content=number-of-cols A quick appearance at environment item up that picks its own figure of columns according to how many children it has, using CSS: :has(), :nth-child(), and :last-child without any modifier classes, props or JavaScript. βœ‰ Keep up to date alongside everything I'm up to https://www.kevinpowell.co/newsletter πŸ’¬ Come suspend out alongside another devs in my Discord Community https://discord.gg/nTYCvrK ⭐ Are you a beginner? HTML & CSS for complete beginners is for you: https://learn.kevinpowell.co πŸŽ“ Start penning CSS alongside confidence alongside CSS Demystified: https://cssdemystified.com πŸš€ Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/ --- Help assistance 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 editors: In most videos, I’m using CodePen these days: https://codepen.io/ - alongside High Contrast Dark theme and the font Commit Mono And if not CodePen, afterward I’m likely using Zed: https://zed.dev/ alongside the theme Ayu Dark, and the font ZedMono In older videos, I was using VS Code - https://code.visualstudio.com/ alongside the theme One Dark Pro Var, and the font Cascadia --- ⌚ Timestamps: 00:00 - Introduction 00:20 - Counting children 01:48 - Making the pillar figure configurable 02:26 - Adding an high bounds alongside :not() 03:35 - CSS Demystified --- I'm on several another places on the net too! If you'd akin a rearward 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.com/kevin-powell --- And any you do, don't ignore to keep on making your border of the net fair a small bit additional awesome! #css

Other Article Kevin Powell Official Youtube Channel
↑
Close Right Ads
Close Left Ads