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
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
Useful @custom-media presets · I can’t wait to use custom media queries.” ilo.im/16hfso by Daniel Schwarz
_____
#ModernCSS #CssReset #MediaQueries #ContainerQueries #CustomProperties #HDR #Browsers #WebDev #Frontend #CSS
Useful @custom-media presets · I can’t wait to use custom media queries.” ilo.im/16hfso by Daniel Schwarz
_____
#ModernCSS #CssReset #MediaQueries #ContainerQueries #CustomProperties #HDR #Browsers #WebDev #Frontend #CSS
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
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
https://www.smashingmagazine.com/2026/09/stop-treating-css-container-queries-traditional-media-queries/?ref=frontenddogma.com
#css #containerqueries #mediaqueries
https://www.smashingmagazine.com/2026/09/stop-treating-css-container-queries-traditional-media-queries/?ref=frontenddogma.com
#css #containerqueries #mediaqueries
https://flaviocopes.com/modern-css-features/?ref=frontenddogma.com
#css #nesting #functions #containerqueries #grids
https://flaviocopes.com/modern-css-features/?ref=frontenddogma.com
#css #nesting #functions #containerqueries #grids
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 · Consistent text sizing with CSS @property ilo.im/16g7o4 by Kevin Powell
_____
#Typography #Text #Content #WebDev #Frontend #CSS #CssProperty #ContainerQueries #CssClamp
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() · What if components styled themselves in CSS? ilo.im/16fz65 by Brecht De Ruyte
_____
#HTML #CSS #Components #AttrFunction #ContainerQueries #CustomProperties #WebDev #Frontend
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 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
#ContainerQueries #ResponsiveDesign #CSS
#ContainerQueries #ResponsiveDesign #CSS
#css #moderncss #css4 #frontend #webdesign #webdev #fluidcss #fluidresponsive #containerqueries
#css #moderncss #css4 #frontend #webdesign #webdev #fluidcss #fluidresponsive #containerqueries
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.
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.
Love them myself! You can do some clever things and it helps make me feel good about CSS and #frontend right now.
www.joshwcomeau.com/css/containe...
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...
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)
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...
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...
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-...
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-...
by Chris Coyier
@chriscoyier.net @chriscoyier@front-end.social
at @frontendmasters.com
#container #ContainerQueries #CSS #scope #webdev
frontendmasters.com/blog/name-on...
by Chris Coyier
@chriscoyier.net @chriscoyier@front-end.social
at @frontendmasters.com
#container #ContainerQueries #CSS #scope #webdev
frontendmasters.com/blog/name-on...
by Daniel Schwarz
@dxnny.fun
at Piccalilli @piccalil.li
#toggletips #ContainerQueries #webdev
piccalil.li/blog/buildin...
by Daniel Schwarz
@dxnny.fun
at Piccalilli @piccalil.li
#toggletips #ContainerQueries #webdev
piccalil.li/blog/buildin...
by @joshwcomeau.com
#css #ContainerQueries #webdev
www.joshwcomeau.com/css/containe...
by @joshwcomeau.com
#css #ContainerQueries #webdev
www.joshwcomeau.com/css/containe...