#containerQueries

Frontend Dogmafrontenddogma@mas.to
2025-05-14

Container Query for “Is There Enough Space Outside This Element?”, by @chriscoyier (@frontendmasters.com):

frontendmasters.com/blog/conta

#css #containerqueries

Frontend Dogmafrontenddogma@mas.to
2025-05-07

Using Container Query Units Relative to an Outer Container, by @anatudor (@frontendmasters.com):

frontendmasters.com/blog/using

#css #containerqueries #units

Ana Tudor 🐯anatudor
2025-02-22

I haven't used style queries much, but just gave them a spin and got an idea (that I've just tested & works) about how we can have ranges in style queries right now. 🥳

That is, red background if --k <= 20, orange background if 20 < --k <= 40 and so on...

Screenshot of a basic test for ranges n style queries.
Inautiloinautilo
2025-01-28


CSS container queries unleashed · Where container queries outperform media queries ilo.im/1621uq

_____

Inautiloinautilo
2025-01-24


Conditional CSS grid template areas · A magic formula to “open the gates to layout heaven.” ilo.im/161t0f

_____

Thomas Michael Semmlernachtfunke@indieweb.social
2024-12-19

Omg. I attempted to debug an issue in safari, where a position: fixed; element didn't correctly align to the viewports edge and I couldn't find out why, until I noticed that it is now relatively positioned to the next element with `container: inline-size;` on it.

Is this how it is supposed to be? This is only the case in safari

#safari #css #containerqueries #html #webdev

pablolarahpablolarah
2024-12-13

🪲 Solved By Modern CSS: Feature Image
by @shadeed9

Using container queries and CSS :has() to build a feature image.

ishadeed.com/article/modern-cs

Small green text on top:
Solved By Modern CSS.
Big red text on center:
Feature Image.
Background image: centered pink rectangle with insects in duotone pink white
Inautiloinautilo
2024-12-10


Solved by modern CSS: feature image · Feature image with container queries and :has() ilo.im/161bsv

_____
.

pablolarahpablolarah
2024-11-12

🧃 Opting in to CSS container queries for a existing design system

by Georgie Cooke
@heygeorgie

hey.georgie.nu/container-queri

Green text on pink background with a chalice on the side:
Opting in to CSS container queries for a existing design system
Inautiloinautilo
2024-11-08


Fluid everything else · “Responsive design should be almost invisible to the user.” ilo.im/160rfm

_____

Inautiloinautilo
2024-11-04


A friendly introduction to container queries · The CSS feature everyone asked for but few are using ilo.im/160peq

_____

pablolarahpablolarah
2024-11-04

📦 A Friendly Introduction to Container Queries

by Josh Comeau @joshwcomeau.com

joshwcomeau.com/css/container-

White text on green white duotone illustration of man ina bottle from Magic, subtitled Stage Illusions and Scientific Diversions, including Trick Photography, compiled and edited by Albert A. Hopkins:

A Friendly Introduction to Container Queries
westbrookwestbrook
2024-08-28

@Jamessw I am 1000%, yes!

Is that from the Level 1 spec text? You wouldn't happen to be privy to any conversations where this is being pushed forward? 👂

I was checking out kizu.dev/anchor-positioning-ex and thought about this haunted alternative: codepen.io/Westbrook/pen/BagPw 👻

pablolarahpablolarah
2024-08-07

🔴⭕️CSS Container Queries
by Thoriq Firdaus at Hongkiat

hongkiat.com/blog/css-containe

Red text on pink background with black outline:
CSS Container Queries
pablolarahpablolarah
2024-08-07

🟣 What if you used Container Units for… everything?
by Chris Coyier
@chriscoyier at @FrontendMasters

frontendmasters.com/blog/what-

White text on violet background:
 What if you used Container Units for… everything?
Lukas Oppermannlukasoppermann
2024-08-05

are a huge gift for .
They are now available in all major browsers: caniuse.com/css-container-quer
@shadeed9 has a fantastic interactive deep dive: ishadeed.com/article/css-conta

It explains the benefits and implementation in great detail.

pablolarahpablolarah
2024-07-04

🔵🟡🔴 How to use container queries now
by Phil Walton
@philwalton at @ChromiumDev

web.dev/blog/how-to-use-contai

Blue text on light grey background with circle and two rectangles in yellow, one square in magenta and one rectangle in light blue:
How to use container queries now

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst