What is the difference between max-width and max-device-width?

Asked

Viewed 611 times

1

The question is exactly what is in the title, media queries I’m doubtful because in examples of some sites they use something like: @media screen and (max-widht:x) and in others [...](max-device-width).

Taking advantage of the question how do I define the media query on the tag link?

1 answer

0


max-width is the width of the target view area, for example the browser.

max-device-width is the width of the entire rendering area of the device, i.e., the actual device screen.

Copied from SO-EN

Makes sense...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.