248
CSS Humor (lemmy.world)

you are viewing a single comment's thread
view the rest of the comments
[-] lurch@sh.itjust.works 45 points 5 months ago

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

[-] bleistift2@feddit.de 33 points 5 months ago

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 5 months ago

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

[-] bleistift2@feddit.de 27 points 5 months ago

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

[-] hibsen@lemmy.world 10 points 5 months ago

How deep does this rabbit-hole go?!

[-] xmunk@sh.itjust.works 6 points 5 months ago

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

[-] micka190@lemmy.world 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.

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

Programmer Humor

32063 readers
908 users here now

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

Rules:

founded 5 years ago
MODERATORS