been seeing too many people starting with desktop styles and trying to strip things away for mobile. it's a
nightmare headache when you're fighting specificity just to hide a massive sidebar on a phone. i prefer building the mobile layout by default and only adding complexity as the screen gets wider. you basically just wrap your desktop-only stuff in a min-width block so it doesn't even touch the small screens.
@media (min-width: 768px) {.sidebar {display: block;}.main-content {margin-left: 250px;}}it keeps the base stylesheet
extremely lightweight for actual mobile devices. if you're working on a project that's already stuck in max-width mode, i get why you'd stick with it but switching to min-width is cleaner long term. do you guys actually bother refactoring old max-width sites or do you just patch them?