Firstly, I understand the basic principles associated with the first responsive mobile web design, and completely agree with them. But one thing I do not understand:
In my experience, not all styles for small screens can be used for a larger version of a website. For example, usually smaller versions have wider interactive areas, hamburger navigation , etc. Therefore, I sometimes have to redefine these specific styles, except as only a gradual improvement in the basic styles.
So, I was wondering: why is max-width rarely mentioned (or used) in the context of mobile, which is primarily responsible for web design? Because it looks like it can be used along with minimal width to isolate styles for smaller screens that are not useful for large screens, and thus prevent unnecessary code duplication.
A quote that mentions the minimum width as usual for mobile devices is at first, but not for max-width:
With this in mind, which media query is best suited for the “mobile first” methodology? Assuming we want to create a mobile / small screen layout, and then expand the style for large browsers, and let there be a minimum width ... An alternative is to create a site for a desktop browser, using max-width, instead, to apply new CSS as reduce device width. But this contradicts the “mobile first” approach
from: http://petegale.com/blog/css-media-queries-min-width-vs-max-width/
EDIT: Therefore, to be more specific: I was wondering if there was a reason to exclude the maximum width from responsive design for mobile devices (since it seems like it could be useful to write your css as DRY as possible, as some styles are for small screens will not be used for large screens).
user1694077
source share