[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/resp/ - Responsive Design

Mobile-first approaches & cross-device solutions
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1794059452935.jpg (106.76 KB, 1024x682, img_1794059442893_pvnojk2c.jpg)ImgOps Exif Google Yandex

2cbf9 No.2344

been fighting that weird layout shift when the address bar hides on mobile all morning. using 100vh is such a headache because it doesn't account for the browser UI actually being there or not. just switch to svh if you don't need legacy support for ancient browsers.
.hero {height: 100svh;}

it stays consistent even when the bars pop in and out. anyone still stuck using the old vh hack?


[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]