Content-First Breakpoints @KevinPowell
Content-First Breakpoints  @KevinPowell
Uploaded May 2025 | Updated December 2026, 3 hours ago
Picking a breakpoint for media queries can be a little tricky. Generic breakpoints sometimes don’t seem to do the job, and using specific device sizes is problematic because there are too many of them.

That’s why I like to go with more of a content-first approach, to a certain extent anyway. We don’t want to get too precise either, or we end up with way too many of them!

Container queries also change the game a little when it comes to breakpoints, opening up some new options and possibilities.

πŸ”— Links
βœ… The ideal viewport doesn’t exist: https://viewports.fyi/
βœ… Piccalilli article that uses the container query viewport trick: https://piccalil.li/blog/reality-check-1-building-out-a-furniture-site-from-dribbble/
βœ… Code from first example: codepen.io/kevinpowell/pen/wBvmdor
βœ… Code from second example: codepen.io/kevinpowell/pen/WNVbbXZ/fef60d4f8a980bb59e4eed25fe69cfc0
βœ… Looking to improve your CSS skills? kevinpowell.co/courses

⌚ Timestamps
00:00 - Introduction
00:50 - Working with ranges
05:00 - You don’t need all those breakpoints
05:50 - Content-first breakpoint approach
07:00 - Don’t micromanage your breakpoints
07:50 - Approaching this with a real layout
13:50 - When container queries make more sense
19:45 - Container queries based on the size of the columns you want
22:12 - Another example of container queries being useful

#css

βœ‰ Keep up to date with everything I'm up to kevinpowell.co/newsletter
πŸ’¬ Come hang out with other devs in my Discord Community discord.gg/nTYCvrK
⭐ Are you a beginner? HTML & CSS for absolute beginners is for you: 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/

---

Help support my channel
πŸ‘¨β€πŸŽ“ Get a course: kevinpowell.co/courses
πŸ‘• Buy a shirt: cottonbureau.com/people/kevin-powell
πŸ’– Support me on Patreon: patreon.com/kevinpowell or through YT memberships: youtube.com/@KevinPowell/join

---

πŸ§‘β€πŸ’» My editor: VS Code - 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: codepen.io/kevinpowell
Github: 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!
Content-First BreakpointsRecreating GTA6s awesome scroll effectCSS detective work made easy with this DevTool featureMaking a wrapper, but with 50 lines of CSSStyle queries can be like dynamic modifier classesWait, line-height works like that?!A responsive card with no media queriesCreate a reflective glow effect with CSSEmulate system color schemes in a couple of clicksCan I survive CSS Hell?Make an animated glowing border effect with CSSBuild bulletproof color systems
Kevin Powell |

Content-First Breakpoints

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER