this post was submitted on 26 Mar 2024
247 points (94.3% liked)

Programmer Humor

32061 readers
986 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 45 points 5 months ago (2 children)

I refuse to believe that's CSS. What is that colon at the end even?

[–] [email protected] 33 points 5 months ago (1 children)

It’s a typo. The colon should be a semicolon. But since it’s the last declaration, it’s optional.

[–] [email protected] 18 points 5 months ago (2 children)

I don't think bottom is a valid value for the position property either.

[–] [email protected] 27 points 5 months ago (1 children)

Yep, and align isn’t a real property, either.

[–] [email protected] 10 points 5 months ago

How deep does this rabbit-hole go?!

[–] [email protected] 6 points 5 months ago

And yet someone on the internet would unsarcastically comment that just adding flex-box would fix it.

[–] [email protected] 10 points 5 months ago

It'll just get ignored. I saw a fucking padding: 0.0.3rem at work today, and it just broke the one class.