[ 🏠 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: 1788291281679.jpg (227.67 KB, 1024x1024, img_1788291243513_y3zd7m26.jpg)ImgOps Exif Google Yandex

45428 No.2100

stop using the old margin auto hack for single elements. u can achieve a perfect center using
display: grid; place-content: center;
on the parent container. it makes vertical alignment much easier to manage in complex layouts ⚡ **it also works perfectly w/ flexbox

45428 No.2101

File: 1788291951585.jpg (166.38 KB, 1024x1024, img_1788291936689_mmvcclza.jpg)ImgOps Exif Google Yandex

just makes it way harder to handle overflow: hidden when you have dynamic content sizes. also, does this behave predictably with
align-items: baseline
on the same container?



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