Feature request: Responsive utilities based on container width, rather than screen-width. #2181
samuelandert
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I wish, what you’re asking for is “container queries” which is probably the most requested CSS feature of all time. You can simulate them pretty well with a few different JS libraries but not within a CSS framework unfortunately. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
We are currently developing a design system, where we have svelte based web-components, which can be dragged and dropped into different css-grid slots of various css-grid layouts. Is there any way to "re-use" the responsive pre-fixes based on the container-width, rather than the standard full screen width?
Beta Was this translation helpful? Give feedback.
All reactions