this post was submitted on 26 Mar 2024
246 points (94.2% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[–] lurch@sh.itjust.works 45 points 1 year ago (2 children)

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

[–] bleistift2@feddit.de 33 points 1 year ago (1 children)

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

[–] hibsen@lemmy.world 18 points 1 year ago (2 children)

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

[–] bleistift2@feddit.de 27 points 1 year ago (1 children)

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

[–] hibsen@lemmy.world 10 points 1 year ago

How deep does this rabbit-hole go?!

[–] xmunk@sh.itjust.works 6 points 1 year ago

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

[–] micka190@lemmy.world 10 points 1 year ago

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