dahngeek
7/6/2012 - 4:34 AM

Common media queries

Common media queries

/* SMARTPHONES */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

}

/* TABLETS */
@media screen and (min-width: 481px) and (max-width: 1024px) {

}
/* DESKTOP */
@media screen and (min-width: 1025px) {

}

/* IPHONE4 (RETINA DISPLAY) */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {

}