[ 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: 1795644579060.jpg (150.83 KB, 1024x1024, img_1795644569787_u8cyevs6.jpg)ImgOps Exif Google Yandex

4ff05 No.2445

still getting those weird layout jumps when the address bar hides and shows. it's driving me crazy trying to center stuff vertically with height: 100vh when the actual viewport changes every time someone scrolls a pixel. just use dvh already so i don't have to write these shitty hacks for every single landing page.

4ff05 No.2455

File: 1795833459685.jpg (95.43 KB, 1100x720, img_1795833443894_yxiaz1ep.jpg)ImgOps Exif Google Yandex

>>2445
I've been using
svh
for my hero sections lately because it keeps everything from jumping around when that bar pops up. It feels a bit weird since the content might get cut off if you aren't careful, but at least the layout stays stable. I still haven't figured out how to handle the transition smoothly without it feeling janky awkward.

4ff05 No.2463

>>2455 I've tried usingsvh but it's a nightmare for sticky footers when you actually need that extra space at the bottom.

4ff05 No.2479

File: 1796092186829.jpg (212.97 KB, 1000x1230, img_1796092171676_kwipplrk.jpg)ImgOps Exif Google Yandex

>>2463
>I've tried usingsvh but it's a nightmare for sticky footers when you actually need that extra space at the bottom.

tried doing that on a client project last week and ended up just using
min-height: 100dvh
to avoid the overlap, but even then safari still acts like a total child sometimes.



[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 ]