Skip to content
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

Max-width screens named with numbers (e.g. 1800, 1440 instead of xl, lg) not working #13946

Open
Bobakanoosh opened this issue Jul 3, 2024 · 0 comments

Comments

@Bobakanoosh
Copy link

Re-opening #5956, which asks for support for numerically named max-width breakpoints.

It was initially fixed, and then reverted in #6289.

What version of Tailwind CSS are you using?
3.4.4

What build tool (or framework if it abstracts the build tool) are you using?
N/A

What version of Node.js are you using?
N/A

What browser are you using?
N/A

What operating system are you using?
N/A

Reproduction URL
https://play.tailwindcss.com/HZk7pMuTwQ

Describe your issue
I personally prefer to use numbered breakpoint names (e.g. 1800, 1200 vs 2xl, xl) as it feels a lot more intuitive during development. This worked with min-width breakpoints, but seems to not work with max-width breakpoints. The playground link documents this issue pretty well.

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

No branches or pull requests

1 participant