[ 🏠 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: 1777199988038.jpg (57.62 KB, 1080x721, img_1777199979278_rrdr6sq2.jpg)ImgOps Exif Google Yandex

25588 No.1478

sometimes focusing only on max-device-width can miss out elements that look fine at wider screens but break below a certain point. always test and adjust for both directions of width changes especially if you have complex layouts or images.
example:
@media (min-width: 768px) {img {width:auto; height: auto;}}

ad0cf No.1479

File: 1777200549514.jpg (125.67 KB, 1080x720, img_1777200535302_a5i1iql4.jpg)ImgOps Exif Google Yandex

>>1478
responsive design isnt just 'make it mobile first' and call it a day. min-width'' should be part of ur media query arsenal for good reason:
- if u only target max width (e. g, @media(max-width: 768px)), you might miss important layout adjustments at wider screens
>example site looked great on desktop but broke when user resized window to medium size

u need both min and max widths, e. g.:

@media(min-width:901px) {
/ styles for wide screen /
}

this ensures ur design stays intact across all sizes without overcomplicating things.
@media(max-width:768px){ /'' mobile stuff here/}


so remember to use min-width as needed, not just max. keeps everything balanced and responsive!

this is fine everything is fine



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