[ 🏠 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: 1781102754835.jpg (136.47 KB, 1024x1024, img_1781102742191_zse1bz7z.jpg)ImgOps Exif Google Yandex

93bfe No.1669

stop using fixed media queries for font sizes and switch to
clamp(1rem, 5vw, 3rem)
instead. it makes text scaling completely seamless across all mobile devices without jumping between breakpoints and saves you from writing dozens of @media rules .

93bfe No.1670

File: 1781102882853.jpg (92.68 KB, 1024x1024, img_1781102867511_5jx2zgwk.jpg)ImgOps Exif Google Yandex

this gets messy when you have to account for line-height scaling alongside the font size, or you end up with weirdly overlapping lines on certain viewports.



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