Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

responsive design #15042

sheraz-saqib started this conversation in Kind words
Discussion options

max-[600px]:bg-sky-300
max-[custom_units]:w-full
max-2xl:h-full

these are media qureys classes not working

You must be logged in to vote

Replies: 2 comments

Comment options

Consider checking whether your Tailwind configuration conforms to the restrictions for max-* variants to work. Otherwise, consider providing a reproducible example please.

You must be logged in to vote
0 replies
Comment options

Tailwind Version Compatibility

Custom screen sizes like max-[600px] and arbitrary values were introduced in Tailwind CSS v3.2+. Check your version:

bash
npm list tailwindcss
If you're on an older version, update:

bash
npm install tailwindcss@latest

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /