|
|
|
|
|
by ComputerGuru
1816 days ago
|
|
But that breaks a lot of design assumptions, since many times the use of vh vs vw is to avoid assuming which of the height or width is greater. You’d have to use a min/max calculation to avoid aspect ratio mayhem whn comparing landscape to portrait. The real big is UI elements that randomly appear and disappear in the browser chrome, such as scroll bars and address bars, that contribute to vh/vw randomly spazzing. |
|