-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
What version of Tailwind CSS are you using?
v3.3.5
What build tool (or framework if it abstracts the build tool) are you using?
Vite 4
What version of Node.js are you using?
v18.0.0
What browser are you using?
Chrome, Safari, or N/A
What operating system are you using?
Windows / Linux
Reproduction URL
https://play.tailwindcss.com/fvlYPhEOPh?file=config
Describe your issue
When extending screens in tailwind configuration (using min/max or raw), it breaks arbitrary values:
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
export default {
theme: {
extend: {
screens: {
'2xl': { min: '1536px' }, // fixed range breaks arbitrary values
tall: { raw: '(min-height: 800px)' }, // raw breaks arbitrary values
},
},
},
plugins: [],
}Makes this don't work:
<div class="min-[600px]:text-red-400 max-[600px]:text-sky-300">
Test arbitray screen values
</div>whytspace, spdiswal, andrew-pledge-io, stewartrule, r-thomson and 1 more
Metadata
Metadata
Assignees
Labels
No labels