Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

When you are mixing arbitrary and built-in media query variants, use the same unit. Since Tailwind uses rem units by default, it should work if you use the rem equivalent: https://play.tailwindcss.com/Sm5LpEMAC3

The docs explain this for setting breakpoint theme tokens but the logic is the same for arbitrary media query variants.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RashiqAzhan
Comment options

Answer selected by RashiqAzhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #20476 on September 10, 2026 14:39.