this post was submitted on 07 Jul 2024
534 points (96.8% liked)

Programmer Humor

18962 readers
519 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
 

I am not allowed to credit the site that has this disaster. Its owner said "Nobody should see that"

you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 53 points 1 month ago (20 children)

I love the superstitious z-index just in case it does something to help.

[–] independantiste@sh.itjust.works 23 points 1 month ago (18 children)

At least that's actually easy and quick to do and is the only way of doing it. Centering a div however has 81639393 ways and it seems the one that works is different every time

[–] CodexArcanum@lemmy.world 46 points 1 month ago (17 children)

Bro its so easy bro, just use flexboxgridcolumns its been a standard since 2010 just flex it bro you haven't learned to flex yet just check w3c schools and add a flex you can polyfill it but don't use that hacked one use the good flexpolyfill then { content-align-middle-child-elements: center-middle-true-neutral } so easy with flex bro

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

Dude, stop flexing on him. You're gonna make him cry.

load more comments (16 replies)
load more comments (16 replies)
load more comments (17 replies)