Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between the media queries max-width and max-device-width? [duplicate]

Possible Duplicate:
What is the difference between max-device-width and max-width for mobile web?

For instance, this website:

http://8faces.com/ uses max-width.

This tutorial uses max-device-width:

Example:

@media screen and (max-device-width: 480px) {
  .column {
    float: none;
  }
}

What's the difference between them? Do they work in Android, iOS, iPad, etc?

like image 835
alexchenco Avatar asked Sep 03 '11 17:09

alexchenco


1 Answers

check this post. http://www.quirksmode.org/blog/archives/2010/09/combining_meta.html

like image 196
Bala Avatar answered Sep 22 '22 01:09

Bala