max-width
is the width of the target display area, e.g. the browser
max-device-width
is the width of the device’s entire rendering area, i.e. the actual device screen
Same goes for max-height
and max-device-height
naturally.
More Related Contents:
- Media query not working in IE9
- What is the exact screen width and height of a phone? [duplicate]
- Can media queries resize based on a div element instead of the screen?
- Why are my CSS3 media queries not working on mobile devices?
- What is the difference between “screen” and “only screen” in media queries?
- Twitter Bootstrap 3: how to use media queries?
- CSS @media print issues with background-color;
- CSS media queries: max-width OR max-height
- Common breakpoints for media queries on a responsive site
- Nesting @media rules in CSS
- Should I use max-device-width or max-width?
- What are the rules for CSS media query overlap?
- What does @media screen and (max-width: 1024px) mean in CSS?
- @Media min-width & max-width
- CSS specificity, Media Queries and min-width
- CSS media queries – Order matters?
- Extending selectors from within media queries with Sass
- Responsive css styles on mobile devices ONLY
- IE7, IE8 support for css3 media query [duplicate]
- Max-Width vs. Min-Width
- How to detect if the OS is in dark mode in browsers?
- How to make responsive table [closed]
- iPhone X / 8 / 8 Plus CSS media queries
- How to code CSS media queries targeting ALL mobile devices and tablets?
- How can I avoid media query overlap?
- Bootstrap – Removing padding or margin when screen size is smaller
- Media queries and background images
- Media Queries – Mobile vs Desktop Browser
- @media query not working in mobile. Works fine in Chrome
- @media media query and ASP.NET MVC razor syntax clash