3 ms·
For most use cases, I think something along the lines of this would do the trick: /* * Show the element full height but make sure content * fits
by notpushkin 4y ago
For most use cases, I think something along the lines of this would do the trick:
/*
* Show the element full height but make sure content
* fits the “small” viewport with the toolbars visible.
*/
.full-blend {
height: 100lvh;
padding-block: calc((100lvh - 100svh) / 2 + 1em);
}