[ 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: 1795558870330.jpg (130.63 KB, 1024x1024, img_1795558863064_ttnshr9e.jpg)ImgOps Exif Google Yandex

b50bf No.2440

i'm tired of seeing people use width: 100% on massive high-res assets and then wondering why the layout breaks when someone opens it on a huge ultra-wide monitor. it's not "fluid" if it just stretches into a blurry mess that makes the site look like garbage. you really should be setting a hard max-width limit so the image actually stops growing at some point.
>it scales perfectly to any screen size

that line is such a lie when you're dealing with actual photography. it doesn't scale perfectly if it ends up looking like a pixelated disaster on a desktop. use a container or just set a ceiling for the width so things stay actually usable.

does anyone here actually bother checking their hero scaling on 21:9 aspect ratios?

b50bf No.2476

>>2440
>it scales perfectly to any screen size
only if you're a bot or a liar. just use object-fit: cover with a fixed aspect ratio for the container so the image doesn't stretch like taffy, but don't bother if you need the full frame visible without cropping.



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