New DVH CSS Unit!!!
Вставка
- Опубліковано 12 гру 2022
- Check out this new CSS unit that allows us to control the viewport height (much like the CSS VH and VW units) in new ways to overcome issues that arise on mobile devices with their various browser agent overlays, menus & toolbars
Stay subscribed as I'll be releasing a whole new set of CSS unit tutorials so you can master the various units with their advantages and disadvantages.
💖 SUBSCRIBE (Please) 💖
ua-cam.com/users/FollowAndrew?s...
🌐 Website 🌐
followandrew.dev
📺 Related Videos 📺
➞ Title: VideoURL
📢 Social Media 📢
TWITTER (@followandrewedu) ➞ / followandrewedu
#css
I saw DVH mentioned on Kevin Powell's channel. I looked it up and found this video. Great explanation! Another great channel. Subscribed.
Awesome, thank you! His stuff's great too
Same here lol
Me too - my friends and friend😁
Thank you man. This came just in time as I am making my project responsive for mobile
I get it now. Ty for breaking this down!
Thanks Andrew that was helpful. The example used was easy to understand.
Thanks Andrew that was helpful
Thank's that's nice I'm going to try it.!
I understand what you were trying to convey.
I'll have to try this, though I'm anticipating it'll cause some janky UI; especially with browsers (like iOS) where the navigation controls aren't always on screen and DVH recalculates the layout when they appear/disappear.
Very useful. thanks
good content
your lead-in music volume is pretty high. makes it a little hard to hear what you're saying
Shoot! I was hoping to find a solution for calculating virtual keyboards... lol I just disable the virtual keyboard right now and use a custom one I built to replace it. It works, but I still need to find out the correct way! Or should I just keep building mine and share it as a library?
Why would i ever use normal vh now?
what you use to simulate mobiles like that? thx.
It's the 'iOS' simulator built into Mac OS if you have Xcode installed
@@FollowAndrew, ok, I don't use Mac OS, thx anyway.
Missing the point not talking about svh and lvh and how dvh will recompute as the bar hides itself upon scrolling up and down, causing UI boning and heavy redraw compute
it would be better they just update dvh as default vh, cant see lvh and svh any practical usage