Re: [csswg-drafts] [css-conditional] [css-contain] Fleshing out @container queries with single-axis containment (#5796)

I love this. Gonna make so much stuff easy and beautiful. I think that keeping a selector out of it makes sense, out keeps the syntax similar to `@media`. Having `contain` create a container context feels like `position: relative` / `position: absolute`, or `z-index`ing. I also like how it sidesteps styling the container itself, which could lead to infinite loops.

❤️ 

-- 
GitHub Notification of comment by maxnordlund
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5796#issuecomment-778314839 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 12 February 2021 16:58:43 UTC