#ContainerQueries
CSS style queries: one variable, every style

Container style queries let a component restyle itself from the value of a custom property, and since May 2026 they work in every major browser.

#css #containerqueries #customproperties
CSS style queries: one variable, every style
Container style queries let a component restyle itself from the value of a custom property, and since May 2026 they work in every major browser.
richi.codes
October 31, 2026 at 4:00 PM
CSS progress(): one number drives the whole layout

The CSS progress() function turns any value into a 0-to-1 ratio, so one container width can drive size, colour, shadow and staggered reveals with no JavaScript.

#css #progress #containerqueries
CSS progress(): one number drives the whole layout
The CSS progress() function turns any value into a 0-to-1 ratio, so one container width can drive size, colour, shadow and staggered reveals with no JavaScript.
richi.codes
October 23, 2026 at 3:00 PM
#Development #Techniques
Fixing fluid typography · Consistent text sizing with CSS @property ilo.im/16g7o4 by Kevin Powell

_____
#Typography #Text #Content #WebDev #Frontend #CSS #CssProperty #ContainerQueries #CssClamp
Fixing fluid typography
👉 Start writing CSS with confidence: https://thecascade.dev/courses...
ilo.im
September 17, 2026 at 4:11 AM
#Development #Approaches
Container style queries and advanced attr() · What if components styled themselves in CSS? ilo.im/16fz65 by Brecht De Ruyte

_____
#HTML #CSS #Components #AttrFunction #ContainerQueries #CustomProperties #WebDev #Frontend
Container style queries and advanced attr(): rethinking how to wire up my components in CSS | utilitybend
Wiring HTML attributes into CSS with advanced typed attr(), and letting container style queries pass that state down to child components.
ilo.im
September 9, 2026 at 10:09 AM
#Development #Techniques
Balancing CSS flex items · Meet the experimental ‘flex-wrap: balance’ and ‘flex-line-count’ ilo.im/16fm7j by Ahmad Shadeed

_____
#Layouts #CssFlexbox #ContainerQueries #CssClamp #Masonry #Chrome #Browser #WebDev #Frontend #CSS
Balancing flex items with flex-wrap: balance
A look at how flex items wrap and how to balance them across lines.
ilo.im
August 26, 2026 at 3:00 AM
Container queries let components respond to their own wrapper instead of the viewport. A card in a narrow sidebar collapses while the same card in a grid shows full details. Define a container on the parent and style children by its inline size for truly portable UI. #CSS #ContainerQueries #WebDev
August 20, 2026 at 1:32 PM
Container queries let components respond to their own space instead of the viewport. A card styled for a narrow sidebar stays correct when reused in a wide grid, with zero media query rewrites. Define container type on the parent, query width in the component. #ContainerQueries #CSS #Frontend
August 20, 2026 at 12:31 PM
CSS container queries finally made components truly reusable. Components now respond to their own wrapper size instead of the viewport, which unlocks cards, sidebars, and widgets that adapt anywhere you drop them. Responsive design matured beyond the mobile era. #CSS #ContainerQueries #WebDev
August 20, 2026 at 11:56 AM
Container queries let components respond to their own box instead of the viewport. Responsive design stops being about breakpoints and becomes about component boundaries which is how UI is actually composed
#ContainerQueries #ResponsiveDesign #CSS
August 20, 2026 at 3:57 AM
Modern CSS is cool and all but I've gotten to a point where if I break concentration everything becomes an ancient dialect no one's ever seen before 🫠

#css #moderncss #css4 #frontend #webdesign #webdev #fluidcss #fluidresponsive #containerqueries
May 29, 2025 at 6:17 AM
bram.us Bramus @bram.us · May 7
Custom Properties compute before they inherit ... and by registering a custom property with a certain syntax, CSS knows what to compute it to ... which allows this:
Using Container Query Units Relative to an Outer Container

Container units (e.g. cqi) are only able to reference the closest container. But if you register a custom property and set that higher up, you can get your hands on other containers units.
May 7, 2025 at 9:36 PM
🗂️ From the archives

Learn how to use container units and container queries to enhance an already flexible sidebar layout with some extra design control and full width breakout elements.
Building a breakout element with container units
Learn how to use container units and container queries to enhance an already flexible sidebar layout with some extra design control and full width breakout elements.
buff.ly
March 27, 2025 at 9:04 PM
February 3, 2025 at 2:36 PM
#CSS scroll-state() container queries
in Chrome 133!

@container scroll-state(stuck: top) {
…
}

Read all about snapped, stuck and scrollable in this post:
developer.chrome.com/blog/css-scr...

↪ nerdy.dev/scroll-state...
January 23, 2025 at 10:09 AM
#CSS scroll-state() container queries:
the "stuck" query

```css
@container scroll-state(stuck: top) {
box-shadow: var(--shadow-5);
border-radius: var(--radius-3);
margin: var(--size-5);
}
```

article coming soon!
(currently in Canary experiments)
December 17, 2024 at 5:39 PM
Container queries #css #containerqueries
December 17, 2024 at 5:27 PM
Open-sourcing our progress on #TailwindCSS v4.0 Alpha

It introduces #Oxide for faster builds, smaller footprints, #Rust integration, with a #CSS first approach. It includes native CascadeLayers, #ContainerQueries, aiming for a streamlined CSS toolchain.

tailwindcss.com/blog/tailwin...
Open-sourcing our progress on Tailwind CSS v4.0 - Tailwind CSS
We just tagged the first public v4.0.0-alpha so you can start experimenting with it and help us get to a stable release later this year.
tailwindcss.com
March 7, 2024 at 3:59 PM
🔵 Web Weekly 194
by @stefanjudis.com
Safari 27 beta
The future of Firefox and the web
CSS gap decorations
headingoffset
Breaking changes in npm v12
Container style queries
#webdev #ContainerQueries #Firefox #CSS

webweekly.email/archive/web-...
June 16, 2026 at 2:42 PM
🔴🟡 Name-Only Containers: The Scoping We Needed
by Chris Coyier
@chriscoyier.net @chriscoyier@front-end.social
at @frontendmasters.com
#container #ContainerQueries #CSS #scope #webdev

frontendmasters.com/blog/name-on...
April 7, 2026 at 8:15 PM
🟡⚫ Building dynamic toggletips using anchored container queries
by Daniel Schwarz
@dxnny.fun
at Piccalilli @piccalil.li

#toggletips #ContainerQueries #webdev

piccalil.li/blog/buildin...
March 23, 2026 at 11:26 PM
January 27, 2025 at 7:39 PM