New DVH CSS Unit!!!
HTML-код
- Опубликовано: 28 сен 2024
- 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) 💖
www.youtube.com...
🌐 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
good content
your lead-in music volume is pretty high. makes it a little hard to hear what you're saying
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.
Thanks Andrew that was helpful. The example used was easy to understand.
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?
I understand what you were trying to convey.
I get it now. Ty for breaking this down!
Thanks Andrew that was helpful
Gonzalez Lisa Lewis Michael Harris Steven
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
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.
Sabina Manor
Hall Thomas Taylor Brenda Hall Lisa
Rodriguez Loop
Why would i ever use normal vh now?
it would be better they just update dvh as default vh, cant see lvh and svh any practical usage
Thank's that's nice I'm going to try it.!
Very useful. thanks