[ 🏠 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: 1789515135198.jpg (236.67 KB, 1024x1024, img_1789515128269_ytlzqt5u.jpg)ImgOps Exif Google Yandex

53748 No.2097

stop trying to force everything into a grid with fixed columns. if you have a label or a button that looks broken weird when it shrinks, just use width: min-content. it keeps the box from getting wider than its longest word and prevents that awkward single-character line break mess.
.label {width: min-content;white-space: nowrap;}

tbh most people overcomplicate this with unnecessary media queries when you could just let the intrinsic size do the work


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