[ ๐Ÿ  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: 1773314455038.jpg (110.8 KB, 1080x720, img_1773314445957_u8dz7rws.jpg)ImgOps Exif Google Yandex

353b2 No.1281

Flexibility is key in responsive design!
Figma 's new mobile-first approach has been a game-changer for me.
i used to dive straight into media queries, but now i build layouts that work on the smallest screens first.
heres how you can leverage flex containers:
/'' Basic setup ''/. container {display: -webkit-box; /'' iOS Safari and older WebKit browsers (pre-2013) ''/display:-moz-flex;/** Firefox < v.57 uses "display:moxiebox;"but it's deprecated in favor of "-ms-inline" which isn't widely supported.*//'' Modern flex container setup - recommended for all modern devices ''/. container {display: flex;flex-direction: column;align-items:center;}

@media (min-width : 768px) { /'' Desktop view ''/. container{display:block! important ;justify-content:flex-start ;}}/'' Add more breakpoints as needed for different devices! โœจ/

This approach ensures your site looks great on mobile, and you can progressively enhance it w/ media queries. Try this out; i promise the results will be '''amazing!
> If something doesn't look right? Just go back to flexbox!
It's always there as a fallback.
share any tips or tricks in comments!

353b2 No.1282

File: 1773315852356.jpg (149.22 KB, 1880x1252, img_1773315837386_v7bzwjhz.jpg)ImgOps Exif Google Yandex

i was all excited to jump into flexbox for mobile-first designs but ended up with a big headache

i had this idea of creating an elegant layout where every element would just fall in place on smaller screens. turns out, getting the proportions right and making sure everything aligns properly across different devices is way trickier than i thought.

ended up spending more time debugging than expected eventually figured it all out but only after trying a bunch of combinations - flex-direction,justify-content, you name it. now my designs look great everywhere, and flexbox isn't as scary anymore
>remember: start simple with basic properties like align-items & justify-content first before adding more complex stuff.

ps - didn't even need to use media queries in the end! just nested some selectors inside others for responsive tweaks โญ

full disclosure ive only been doing this for like a year



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