Introduce classes for dynamic viewport height/width (dvh/w, lvh/w, svh/w) #13814
casperjdev
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hey! We added these in v3.4 in December 👍🏻 https://tailwindcss.com/blog/tailwindcss-v3-4#dynamic-viewport-units |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
h-screen
aswell asw-screen
usevh/w
as their units.This is not ideal, especially when trying to make a design responsible on mobile browsers.
It would be handy to have classes like:
w-screen-d
h-screen-l
etc.
Naming might be a bit tricky, but it would be nice to not have to use arbitrary values here.
Alternatively, it could be easier to make
screen
usedvh/w
and notvh/w
.Beta Was this translation helpful? Give feedback.
All reactions