responsiveness on mobile browser #12078
narasimhajupally
started this conversation in
Ideas
Replies: 1 comment
-
But I agree, it would be nice to have new viewport units available, perhaps with names like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the recent project I have been working on I used h-screen and 100vh etc. which gave the desired output on desktop developer tools responsive testing.
But when I checked the mobile and tablet browsers and discovered that the URL bar is not considered in 100vh and everything was overflowing.
After some searching the fix was to use 100dvh i.e. relative viewport unit.
can we make
h-screen
and other related classes usedvh
units instead ofvh
?Beta Was this translation helpful? Give feedback.
All reactions