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

Programmer Humor

19187 readers
1129 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
[โ€“] MonkderVierte@lemmy.ml 1 points 2 months ago (1 children)

Nowadays we do responsive webdesign instead of micromanaging widths.

[โ€“] usernamefactory@lemmy.ca 2 points 2 months ago

This is technically responsive, but I think you have a fair criticism. A single rule like this would be much more maintainable:

#content .grid-container {
	width: 90vw;
	min-width: 12rem;
	max-width: 75rem;
	padding: 2rem 0 1rem;
}

Obviously, media rules have their place, but not for something that's consistantly a full width container like this seems to be.