GregorTacTac@lemm.ee to Programmer Humor@programming.dev · 11 months agoAverage CSSlemm.eeexternal-linkmessage-square86linkfedilinkarrow-up1561arrow-down119file-text
arrow-up1542arrow-down1external-linkAverage CSSlemm.eeGregorTacTac@lemm.ee to Programmer Humor@programming.dev · 11 months agomessage-square86linkfedilinkfile-text
minus-squareMonkderVierte@lemmy.mllinkfedilinkarrow-up1·11 months agoNowadays we do responsive webdesign instead of micromanaging widths.
minus-squareusernamefactory@lemmy.calinkfedilinkarrow-up2·11 months agoThis 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.
Nowadays we do responsive webdesign instead of micromanaging widths.
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.