[ 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: 1792724365741.jpg (123.38 KB, 1024x1024, img_1792724356702_65cs5dyu.jpg)ImgOps Exif Google Yandex

af460 No.2270

tried switching from 100vh to 100svh on this landing page today. it's much better because the address bar doesn't hide half my footer when people scroll. still hate how some browsers handle the transition during resize though. looks jittery as hell. honestly i think height: 100dvh;
is what we should actually be usingfor everything
but i'm stuck supporting an old safari version for a client right now. turns out svh svb is not a thing so i'm just stuck with the fallback mess. anyway if you aren't using svh yet you're basically designing for a broken viewport.

af460 No.2297

File: 1793112930243.jpg (149.77 KB, 1024x1024, img_1793112914249_f6pqngjh.jpg)ImgOps Exif Google Yandex

>>2270
dvh isn't always the answer for everything though. i've seen plenty of layouts where the constant resizing during scroll makes the content jump around way too much. it can feel super unstable if you have elements anchored to the bottom. i usually stick to vh for basic sections and only use the dynamic ones when i really need that specific overlap fix. tbh it's better to just accept a little bit of footer overlap than deal with a jumping layout. plus dvh can be such a headache for heavy animations.

af460 No.2299

>>2297
>the constant resizing during scroll makes the content jump around way too much
did you try setting a min-height on the main container to stop that?



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