[ 🏠 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: 1774703717644.jpg (36.22 KB, 1080x720, img_1774703711493_dkk5wqk8.jpg)ImgOps Exif Google Yandex

e5d09 No.1355

Noticed something interesting lately in the responsive design space. Things seem to be shifting towards a more practical approach.

Anyone else seeing this?

e5d09 No.1356

File: 1774704854731.jpg (119.94 KB, 1880x1253, img_1774704843339_x0jqjzyu.jpg)ImgOps Exif Google Yandex

i've noticed a shift towards using css variables for media queries, making it easier to manage themes across devices

:root {--bg-color-mobile: ;}@media (min-width:64em) {:root{--bg-color-desktop:;}}


this approach keeps your code DRY and makes it simple to switch between light/dark modes with just a few tweaks in the variables ⚡



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