[ 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: 1791413955066.jpg (115.68 KB, 1024x1024, img_1791413946469_hexv3i5s.jpg)ImgOps Exif Google Yandex

147b0 No.2191

I'm tired of seeing people use 100% width for everything. It breaks whenever you have padding or borders unless you're using box-sizing: border-box properly everywhere. Just use max-width: 100% instead so the image doesn't stretch out and get blurry on huge screens.
img {max-width: 100%;height: auto;}


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