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

You are viewing a single thread.
View all comments View context
14 points

I don’t get it, isn’t this a pretty normal way of using media queries. Granted you’re more likely to see the widths defined in px.

permalink
report
parent
reply
1 point

Nowadays we do responsive webdesign instead of micromanaging widths.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
10 points

Shhh… The poster doesn’t understand CSS and we shouldn’t embarrass them in a community with memes

permalink
report
parent
reply
4 points

My imposter syndrome kicked in full swing. I was ready to learn a CSS best practice and feel uncomfortable about it for the rest off the day.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.7K

    Monthly active users

  • 878

    Posts

  • 14K

    Comments