Skip to content

Feature/container max width #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

bkdiehl
Copy link

@bkdiehl bkdiehl commented May 14, 2024

I added another matchVariant to enable max-width container queries. ie. @container (width < ${value}). Hope you think this is useful.

@RobinMalfait RobinMalfait self-assigned this Feb 5, 2025
@RobinMalfait
Copy link
Member

Hey!

Now that Tailwind CSS v4 is out, the container queries feature is baked into the framework. This also includes @max-* variants. More info: https://tailwindcss.com/docs/responsive-design#max-width-container-queries

I would recommend to try and upgrade your projects to v4 to make use of these features.

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants