Why not working {min-,max-,}w-screen-{breakpoint}
following the pattern of {min-,max-,}w-{container_breakpoint}
#18709
-
I'm more interested in why, if But since the behavior with The feature can currently be used with variables ( <div class="w-lg bg-sky-400">...</div>
<div class="w-32 min-w-lg bg-sky-500">...</div>
<div class="w-999 max-w-lg bg-sky-600">...</div>
<div class="w-screen-lg bg-orange-400">... (not working)</div>
<div class="w-32 min-w-screen-lg bg-orange-500">... (not working)</div>
<div class="w-999 max-w-screen-lg bg-orange-600">...</div>
<div class="w-(--breakpoint-lg) bg-emerald-400">...</div>
<div class="w-32 min-w-(--breakpoint-lg) bg-emerald-500">...</div>
<div class="w-999 max-w-(--breakpoint-lg) bg-emerald-600">...</div> |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Also, lets not forget that we can access the variables directly anyway, e.g., For containers
<div class="w-lg bg-sky-400">...</div>
<div class="w-32 min-w-lg bg-sky-500">...</div>
<div class="w-999 max-w-lg bg-sky-600">...</div>
For screen breakpoints
<div class="w-(--breakpoint-lg) bg-emerald-400">...</div>
<div class="w-32 min-w-(--breakpoint-lg) bg-emerald-500">...</div>
<div class="w-999 max-w-(--breakpoint-lg) bg-emerald-600">...</div> |
Beta Was this translation helpful? Give feedback.
tailwindcss/CHANGELOG.md
Line 687 in 4d37043
Also, lets not forget that we can access the variables directly anyway, e.g.,
max-w-(--breakpoint-lg)
orw-(--breakpoint-lg)
, because in reality, that's all that's happening behind the scenes withmax-w-screen-lg
as well.