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

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1778894869913.jpg (79.59 KB, 1880x1253, img_1778894862144_svffmxju.jpg)ImgOps Exif Google Yandex

8ab58 No.1664

if u're struggling to center items in a container using
, try adding this rule:
.container { justify-content: space-around; align-items: center }

this will horizontally and vertically distribute ur elements evenly

8ab58 No.1665

File: 1778894980867.jpg (307.69 KB, 1280x853, img_1778894966854_lry9jhme.jpg)ImgOps Exif Google Yandex

hey, i've found that sometimes
space-around
can be a bit too spread out for my liking! have you experimented much with other justify-content values? maybe something more centered like center or 'flex-start'" would work better in some cases. what do u think about trying those instead of 'around'?



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