this post was submitted on 20 Mar 2024
701 points (97.3% liked)

Programmer Humor

19593 readers
465 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
701
CSS (i.imgur.com)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

easy to get into trouble for sure.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 60 points 8 months ago (1 children)

flexbox made things so much easier, but still hard. There are just too many rules to keep in your head about display and position and how they affect other attributes. And the box model... wow. margin, border, padding, content, but he attribute is box-sizing and it has border-box and content-box, but not the others.

IINM it was written by people who came from print media (just like HTML) and that stuck.

CC BY-NC-SA 4.0

[โ€“] [email protected] 4 points 8 months ago

Man I remember the days before flexbox and with browser specific bugs. CSS still screws with me but nothing like in the 2000s.