[ 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: 1792155550768.jpg (103.11 KB, 1024x1024, img_1792155543637_6f4464zs.jpg)ImgOps Exif Google Yandex

0771c No.2232

i'm tired of seeing people hardcode margin-left everywhere like we aren't writing internationalized sites. if you're swapping to rtl layouts, using margin-inline-start saves a massive headache with your stylesheets. it's way cleaner than rewriting every single media query just to flip the direction.
.card {margin-inline-start: 20px;padding-inline-end: 15px;}

anyone still using margin-left for everything?


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