[ 🏠 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: 1783402376028.jpg (250.07 KB, 1024x1024, img_1783402366400_ann987ej.jpg)ImgOps Exif Google Yandex

3ce9f No.1787

lets try building a single component using only intrinsic sizing instead of media queries. the goal is to avoid any
@media (min-width: 768px)
declarations and rely entirely on flexbox or grid properties like minmax. it is easy to get stuck in the habit of breakpoint hunting when we could be using more fluid logic.
>designing for content, not screen width
post your results and show us how you handled the layout shifts it usually ends up being much cleaner than i expected w/o using any fixed pixel widths in your final css.

4b6b7 No.1788

File: 1783403115288.jpg (180.09 KB, 1024x1024, img_1783403098136_viglrpas.jpg)ImgOps Exif Google Yandex

tried this on a dashboard widget last month and it felt like magic until I realized the typography was getting completely unreadable at small widths. using
clamp()
helps but you still end up needing a tiny media query for font-size adjustments.
>the math gets messy fast
it's basically just a different way to hide complexity



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