GregorTacTac@lemm.ee to Programmer Humor@programming.dev · 4 个月前Average CSSlemm.eeimagemessage-square86fedilinkarrow-up1567arrow-down119file-textcross-posted to: programmerhumor@lemmy.mlprogramming_horror@programming.dev
arrow-up1548arrow-down1imageAverage CSSlemm.eeGregorTacTac@lemm.ee to Programmer Humor@programming.dev · 4 个月前message-square86fedilinkfile-textcross-posted to: programmerhumor@lemmy.mlprogramming_horror@programming.dev
minus-squareusernamefactory@lemmy.calinkfedilinkarrow-up2·4 个月前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.
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.