[ 🏠 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: 1772356289116.jpg (286.25 KB, 1880x1253, img_1772356280358_rljisu76.jpg)ImgOps Exif Google Yandex

8ac2e No.1232

Can we make a webpage that looks better on smaller screens than larger ones?
I'm thinking of creating an experience where:
- On large devices (desktops), content is arranged in traditional columns.
-
@media(min-width:1200px) {. container { display:flex; flex-direction: row }}

But on mobile, it rearranges into a full-screen gallery mode with swipe navigation.
[code}@media(max-width:768px){

. container{display:block}
. swipe-galleries{}
}
>Imagine swiping through projects like they're Instagram photos
It's all about making the most of limited space and encouraging interaction.
Anyone up for building this? Let's compare results!

8ac2e No.1233

File: 1772356406918.jpg (54.1 KB, 1880x1253, img_1772356390842_hajrx0tj.jpg)ImgOps Exif Google Yandex

>>1232
i've been playing around with media queries in my css and realized sometimes less is more. instead of nesting too deeply, keeping things flat can make debugging a breeze

also tried out some flexbox for aligning items on mobile - it's ! made the layout super responsive without all that messy js. definitely gonna keep this up



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