I am not allowed to credit the site that has this disaster. Its owner said “Nobody should see that”
Worse.
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.
Shhh… The poster doesn’t understand CSS and we shouldn’t embarrass them in a community with memes
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.
Not allowed to credit the site in your text editor?
Is the owner in the room with you now?
I hate all webdev beyond using raw HTML, CSS and Javascript to make your own crappy website
I am very, very surprised about the competence of the commenters here. I have had many discussions on reddit about the advantages of meaningful instead of presentational class-naming and you’re normally met with great resistance, especially with users of frameworks like Bootstrap and Tailwind.
Here, everyone seems to either ‘get it’ or is willing to hear why classes like .lime are bad. Very cool.
People that advocate for presentation naming haven’t endured a major company rebrand.
“Some coders just want to watch the word burn get colored white and/or lime.”
And if you delete one or the other, or condense the code into a single command, the whole site breaks.