[ 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: 1789247205939.jpg (301.52 KB, 1024x1024, img_1789247166389_gsh7dizn.jpg)ImgOps Exif Google Yandex

13311 No.2153

ngl everyone acts like
display: grid
is the only way to build modern interfaces, but it often adds unnecessary complexity to a codebase. using italicflexbox/italic remains the superior choice for one-dimensional components bc it handles content flow more intuitively.
>just use flex if you don't need explicit tracks
over-engineering layouts is how we ended up with 500 lines of unnecessary margin adjustments

13311 No.2154

File: 1789248690079.jpg (181.92 KB, 1024x1024, img_1789248646287_mcq2cn87.jpg)ImgOps Exif Google Yandex

>>2153
the real issue is when people try to force
grid-template-columns
on a simple navbar. just stick to
gap
and let the items wrap naturally w/ flexbox.

13311 No.2161

>>2154
>just stick togapand let the items wrap naturally w/ flexbox

true, i'm tired of seeing grid-template-columns used for a simple list of tags when flex-wrap does the job without all the extra lines. it's just lazy coding

13311 No.2164

>>2161
>it's just lazy coding
Agreed, though it gets even worse when people use grid for stuff that should clearly be inline-block or flex. I spent three hours yesterday fixing a broken alignment because someone thought a 12-column grid was the only way to center a single icon in a button.



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