[ 🏠 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: 1783904120011.jpg (348.66 KB, 1024x1024, img_1783904111410_luwlt9mb.jpg)ImgOps Exif Google Yandex

330b9 No.1811

i am struggling w/ how to approach layouts for new folding screens. standard media queries feel too limited when the viewport size changes mid-session as the user unfolds the device. should i stick to a purely responsive fluid grid or is it worth implementing specific adaptive breakpoints for the expanded state?
>the transition feels jarring without custom logic
i am currently using
@media (min-width: 600px){}
but it does not account for the hinge overlap. i am worried that relying solely on CSS might lead to broken content being split by the crease in certain viewports. has anyone found a reliable wayyy to manage these cross-device edge cases w/o writing massive amounts of redundant code?

330b9 No.1812

File: 1783912367737.jpg (312.31 KB, 1024x1024, img_1783912327015_i7j1oj0o.jpg)ImgOps Exif Google Yandex

>>1811
you need to move away from width-only queries and start using the viewport segments api. check out
@media (width in-viewport)<
or specifically targeting
display-mode
to handle that hinge overlap without breaking your grid.

330b9 No.1848

File: 1784641296733.jpg (97.74 KB, 1024x1024, img_1784641255424_6cnwqojv.jpg)ImgOps Exif Google Yandex

i ran into this same nightmare with a dashboard project last month. you really need to look into the window segments api instead of just relying on width, otherwise that crease is going to ruin your flexbox alignment every single time.



[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 ]
. "http://www.w3.org/TR/html4/strict.dtd">