Container Queries support #395
dlebedynskyi
started this conversation in
Ideas
Replies: 1 comment
-
|
Hey, thanks for suggesting this! Container queries in v4 are awesome, and bringing them to Uniwind is a great idea. Our hands are pretty full right now, so we won't have the bandwidth to tackle this in Q1. Like you pointed out, tracking parent sizes and named containers adds some tricky complexity under the hood, so we need to make sure we plan the implementation carefully. We've added this to our list for Q2 planning to figure out how we can best make it happen. We'll drop an update here once we have a clearer timeline. Thanks again! |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
One of great features in Tailwind v4 compared to v3 is full support of container queries in combination with media queries.
I'd like to ask for uniwind to support this as feature as well.
Examples from tailwind docs:
We could also set repsective css variables
to use those later in layout like
or just use arbitrary value
I'd imagine rules around here would be close to media-queries. However some complexity comes from need to track parent container size and named instances.
Beta Was this translation helpful? Give feedback.
All reactions