CSS Media Query Breakpoints – iPhone 6 & 6+

In case you were wondering…

/**********
iPhone 6
**********/
@media only screen 
 and (min-device-width : 375px) 
 and (max-device-width : 667px) 
 and (orientation : landscape) 
 and (-webkit-min-device-pixel-ratio : 2){ 
 
 }

@media only screen 
 and (min-device-width : 375px) 
 and (max-device-width : 667px) 
 and (orientation : portrait) 
 and (-webkit-min-device-pixel-ratio : 2){ 
 
 }

Launch images
750 x 1334 (@2x) for portrait
1334 x 750 (@2x) for landscape
App icon
120 x 120

/**********
iPhone 6+
**********/
@media only screen 
 and (min-device-width : 414px) 
 and (max-device-width : 736px) 
 and (orientation : landscape) 
 and (-webkit-min-device-pixel-ratio : 3) { 
 
 }

@media only screen 
 and (min-device-width : 414px) 
 and (max-device-width : 736px) 
 and (orientation : portrait) 
 and (-webkit-min-device-pixel-ratio : 3) { 
 
 }

Launch images
1242 x 2208 (@3x) for portrait
2208 x 1242 (@3x) for landscape
App icon
180 x 180

/**********
iPhone 6 & 6+
**********/
@media only screen 
 and (max-device-width: 640px), 
 only screen and (max-device-width: 667px), 
 only screen and (max-width: 480px) { 
 
 }
 
/**********
Most
Smartphones &
Tablets
**********/

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

 }

/* Smartphones (landscape) ----------- */
@media only screen 
 and (min-width : 321px) {

 }

/* Smartphones (portrait) ----------- */
@media only screen 
 and (max-width : 320px) {

 }

/* iPads (portrait and landscape) ----------- */
@media only screen 
 and (min-device-width : 768px) 
 and (max-device-width : 1024px) {

 }

/* iPads (landscape) ----------- */
@media only screen 
 and (min-device-width : 768px) 
 and (max-device-width : 1024px) 
 and (orientation : landscape) {

 }

/* iPads (portrait) ----------- */
@media only screen 
 and (min-device-width : 768px) 
 and (max-device-width : 1024px) 
 and (orientation : portrait) {

 }

/**********
iPad 3
**********/
@media only screen 
 and (min-device-width : 768px) 
 and (max-device-width : 1024px) 
 and (orientation : landscape) 
 and (-webkit-min-device-pixel-ratio : 2) {

 }

@media only screen 
 and (min-device-width : 768px) 
 and (max-device-width : 1024px) 
 and (orientation : portrait) 
 and (-webkit-min-device-pixel-ratio : 2) {

 }

/**********
iPhone 4
**********/
@media only screen 
 and (min-device-width : 320px) 
 and (max-device-width : 480px) 
 and (orientation : landscape) 
 and (-webkit-min-device-pixel-ratio : 2) {

 }

@media only screen 
 and (min-device-width : 320px) 
 and (max-device-width : 480px) 
 and (orientation : portrait) 
 and (-webkit-min-device-pixel-ratio : 2) {

 }

/**********
Desktop &
Laptops
**********/
@media only screen 
 and (min-width : 1224px) {

 }

/* Large screens ----------- */
@media only screen 
 and (min-width : 1824px) {

 }

23. October 2014 by info
Categories: Web Dev | Tags: , | Leave a comment

Leave a Reply

Required fields are marked *