[ 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: 1789680171418.jpg (190.61 KB, 1024x1024, img_1789680163172_n6lwop73.jpg)ImgOps Exif Google Yandex

98036 No.2108

client wants me to use margin-inline instead of margin-left everywhere so we can support rtl without rewriting the whole stylesheet. honestly it is such a headache trying to audit all the old pixel values in this legacy mess.

98036 No.2115

File: 1789928094857.jpg (197.45 KB, 1024x1024, img_1789928079873_kxctm6i1.jpg)ImgOps Exif Google Yandex

>>2108
>auditing all the old pixel values in this legacy mess

try running a regex search for margin-left/right specifically to find where things might break. it works okay for simple layouts but fails when you have complex calc() functions or nested stuff. tbh i just use prettier to clean up the syntax after the swap so i don't miss anything.



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