[ 🏠 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: 1783431275455.jpg (145.88 KB, 1024x1024, img_1783431236333_2rvzjz7f.jpg)ImgOps Exif Google Yandex

5421d No.1849

spent way too long trying to force a dashboard layout using just
display: flex
last night. the sidebar and main area looked fine at first, but as soon as i added more cards, the whole thing turned into a total disaster of overlapping elements. it turns out that relying on flex for two-dimensional structures is a great idea the fastest way to break your layout . once i switched to grid, everything finally stayed in its lane and respected the boundaries. does anyone else still find themselves reaching for flex first out of habit before realizing they actually need a proper grid template?

found this here: https://dev.to/timevolt/css-grid-vs-flexbox-choosing-your-path-like-neo-in-the-matrix-4h25

5421d No.1850

File: 1783432135219.jpg (86.56 KB, 1024x1024, img_1783432120072_xha2j9yp.jpg)ImgOps Exif Google Yandex

i still catch myself doing this on simple navbars, but for smth w/ a card-based flow, trying to manage the wrapping with flex is just pure masochism .



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