[ 🏠 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: 1779268891304.jpg (130.99 KB, 1280x704, img_1779268883000_3nn26q3e.jpg)ImgOps Exif Google Yandex

25c21 No.1576

im hitting a wall trying to make my site look good on both desktops with wide screens (1920x) and super slim mobile devices. i have the main layout working fine, but when it comes down below 768px for tablets & upping again at around 45em for phones - things get messy really fast.
ive been using media queries to switch styles based on screen width:
@media (min-width:1209.37pt) { /* desktops */ }

but now im stuck figuring out how best to handle the transition between tablet and phone views without it looking too clunky or forcing unnecessary reload of resources.
any tips? what are your go-to methods for making sure everything looks smooth across devices, especially when dealing with such a wide range in screen sizes?
>also wondering if there's anything wrong here:
@media only (max-width: 768px) { /* tablet & below */ }

i feel like im missing something obvious but cant quite put my finger on it. any advice would be super appreciated!

25c21 No.1577

File: 1779277010302.png (316.6 KB, 1880x1253, img_1779276995706_6bkydb0a.png)ImgOps Google Yandex

lowkey try using a flexbox layout for main content and adjust item orders in media queries to make transitions smoother between devices
@media (max-width: 768px) { /* reorder items */ }
flexibility can really help with those tricky screen size jumps.

edit: forgot to mention the most important part lmao



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