this post was submitted on 11 Aug 2025
589 points (99.5% liked)

Programmer Humor

26772 readers
2306 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 2 years ago
MODERATORS
 
all 21 comments
sorted by: hot top controversial new old
[–] shovingleopardnsfw@lemmynsfw.com 32 points 1 month ago (3 children)

Sadly

position: top;

is not valid css. It should say

position: absolute;
bottom: 0px;

Still funny though.

[–] shovingleopardnsfw@lemmynsfw.com 17 points 1 month ago (1 children)

Ah, the author fixed it. Good job.

[–] hemmes@lemmy.world 2 points 1 month ago

Thank God, that would’ve eaten me alive

[–] some_guy@lemmy.sdf.org 4 points 1 month ago

You design people and your pedantry. > /dev/null for you.

Jk, you're fine.

[–] anguo@piefed.ca 1 points 1 month ago

The px is making me eyes itch.

[–] Michal@programming.dev 21 points 1 month ago

If you trim that bush, it'll seem larger

[–] who@feddit.org 19 points 1 month ago (1 children)
[–] some_guy@lemmy.sdf.org 6 points 1 month ago

Came to say the same. I've never taken it so literally.

[–] yetAnotherUser@lemmy.ca 8 points 1 month ago (2 children)

Why is .tree's position relative?

[–] bleistift2@sopuli.xyz 32 points 1 month ago (1 children)

Needed for the .leaves’ absolute positioning to be relative to the tree, and not relative to the universe.

[–] hemmes@lemmy.world 10 points 1 month ago

Damn, I thought you were going to take me out to dinner first

[–] BleakBluets@lemmy.world 6 points 1 month ago* (last edited 1 month ago)

It's so the position: absolute for .leaves works relative to .tree. The implication is that .leaves is a descendant of .tree.

position: absolute looks for the nearest ancestor with a set position in order to determine its own positioning context. Otherwise the absolute positioning would basically be relative to the viewport. If the position: relative was missing, the leaves would be against the bottom edge of the image.

source

edit: I mean .leaves, not .branch

[–] NichEherVielleicht@feddit.org 3 points 1 month ago (3 children)

Okay, nun weiß ich wie man Scharmbehaarung programmiert....

[–] bleistift2@sopuli.xyz 8 points 1 month ago (1 children)
[–] Samsy@lemmy.ml 3 points 1 month ago (1 children)
[–] bleistift2@sopuli.xyz 2 points 1 month ago (1 children)
[–] Samsy@lemmy.ml 1 points 1 month ago

Hach, dachte fast den checkt keiner.

[–] bleistift2@sopuli.xyz 4 points 1 month ago (1 children)
[–] JasonMcCrea@lemmy.world 2 points 1 month ago

Saw this post about "CSS Gardening," and I'm reminded of debugging my first responsive website. Did anyone else spend hours wrestling with margins and padding, only to realize it was a typo in the media query? I did! Now I meticulously check my syntax.