this post was submitted on 24 Sep 2024
832 points (98.7% liked)

Programmer Humor

19551 readers
1007 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] hollyberries@programming.dev 11 points 1 month ago (7 children)
[–] Kissaki@programming.dev 4 points 1 month ago* (last edited 1 month ago) (5 children)

It baffles me when people use flex layout when it's clearly visually a grid layout. Nothing here is flexing with varying element sizes and auto-fill-wrap-break of items.

A colleague of mine prefers flex too. But to me, grid is so much more intuitive and simple.

https://css-tricks.com/quick-whats-the-difference-between-flexbox-and-grid/

[–] hollyberries@programming.dev 2 points 1 month ago (1 children)

Tbh I'm not a web person (more of a backend person) and don't know the recommended practices. display: grid; is a good friend of mine xD

[–] Kissaki@programming.dev 2 points 1 month ago

I think using display: grid; as your default is the better default, so you're all set. :)

load more comments (3 replies)
load more comments (4 replies)