Using container queries as breakpoints #1732
nassimbenkirane
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
An example using container queries to use existing breakpoints in a specific div |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would there be an easy way to use container queries instead of media queries for native breakpoints ?
Currently we can do :
and then we can use it in the code :
It would be even better if we could highjack the default break points to use container queries, so we would be able to use all the nice shortcuts like :
Is this already possible ? Would it make sense to make it possible ?
Beta Was this translation helpful? Give feedback.
All reactions