Skip to content

Instantly share code, notes, and snippets.

View jrodriguez-ifuelinteractive's full-sized avatar

Jesus Rodriguez jrodriguez-ifuelinteractive

View GitHub Profile
@danro
danro / iphone-media-queries.css
Created October 25, 2012 02:06
iphone media queries
/* iPhone 3 portrait */
@media (device-height: 480px) and (-webkit-max-device-pixel-ratio: 1) and (orientation:portrait) {
}
/* iPhone 3 landscape */
@media (device-height: 480px) and (-webkit-max-device-pixel-ratio: 1) and (orientation:landscape) {
}
/* iPhone 4 retina portrait */
@media (device-height: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:portrait) {