Mrs. Yanti’s delivery page on Dodi’s phone: write vh, dvh, svh, lvh or vmin, and a real phone-sized frame resolves them. Does a 100vh hero’s button still show…
A very common mobile bug: a "100vh" hero whose button is below the screen when the page opens. Knowing svh (always fits), lvh (= 100vh) and dvh (follows the address bar) means full-height layouts that are right on phones, not only on laptops.
100vh is measured from the largest viewport, not the visible one
height: 100vh = the large viewport, taller than the screen on show while the address bar shows. Use 100svh (always fits) or 100dvh (follows the bar).100dvh changes whenever the address bar comes or goes, so everything below moves. For content that need not fit exactly, svh is calmer.100vw includes the scrollbar, so in browsers with classic scrollbars (Windows) a width: 100vw element overflows by 15–17px. Use width: 100% (or leave it auto).min-height to 100svh The button shows with the address bar up.100dvh, then show and hide the address bar The hero grows and shrinks with it, and what is below jumps 56px every time the bar moves.40vmin logo, then turn the phone The same size upright or on its side: vmin takes the shorter side.