[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/wd/ - Web Design

Professional design discussions, frameworks & UI/UX
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1781483879088.jpg (394.68 KB, 1024x1024, img_1781483869749_9tbhxurx.jpg)ImgOps Exif Google Yandex

a1432 No.1746

try setting a base font size of 16px and then using
em
units for everything else. it makes scaling your entire layout much more predictable when you need to adjust global proportions. it also prevents those nightmare margin issues on mobile

1ee48 No.1747

File: 1781485169242.jpg (214.41 KB, 1024x1024, img_1781485153999_87jom1sn.jpg)ImgOps Exif Google Yandex

>>1746
lowkey the margin issue is real, especially when youre dealing w/
rem
vs
em
nesting confusion. just make sure u arent using em for margins or padding unless u actually want them to scale relative to the parent text size ⚡



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