4 ms·
An easy solution is to add a height transition: .full-height { min-height: 100vh; transition: height 1000s steps(1); } This will let y
by abdusco 7y ago
An easy solution is to add a height transition:
.full-height {
min-height: 100vh;
transition: height 1000s steps(1);
}
This will let you maintain the initial height with the address bar excluded, and won't let it change when the bar disappears. Steps timing function is to avoid costly layout calculations.
- jannes 7y agoWouldn't this change after 16m 40s?
- wereHamster 7y agoYes, that is true. Increase to hours, days, or years as you feel appropriate for your audience. Unless the visitors spend days looking at the screen, they won't notice.
- deleted 7y ago[deleted]