Average CSS
Average CSS
I am not allowed to credit the site that has this disaster. Its owner said "Nobody should see that"
You're viewing a single thread.
Worse.
5 3 ReplyIsn't cascading styles the whole point of Cascading Style Sheets?
8 0 ReplyYou absolute fool. You must never utter its full name, lest you summon its wrath!
8 0 Reply
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.
4 0 ReplyShhh... The poster doesn't understand CSS and we shouldn't embarrass them in a community with memes
6 1 ReplyMy 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.
4 0 Reply
Nowadays we do responsive webdesign instead of micromanaging widths.
1 0 ReplyThis 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.
2 0 Reply