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

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1782510237911.jpg (161.01 KB, 1024x1024, img_1782510225910_rq2ew7ke.jpg)ImgOps Exif Google Yandex

5eab3 No.1801

you can skip all the flexbox math by using
place-items: center;
on the parent container. it is much cleaner than the old margin auto method, tho some people still prefer rely on the classic way .

5eab3 No.1802

File: 1782511446372.jpg (294.59 KB, 1024x1024, img_1782511431083_193h11sd.jpg)ImgOps Exif Google Yandex

just remember that
place-items: center
alsooo affects the alignment of all children, so it can be a total nightmare if you have multiple elements in the same grid. i usually stick to
margin: auto
for single items just to avoid accidentally messing up my secondary rows. yeah.



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