Created
June 19, 2016 07:40
-
-
Save jwthanh/3392a5df27c7341e7cd703a4f3f20ab1 to your computer and use it in GitHub Desktop.
Modem responsive css breakpoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ======= Desktops and laptops ======= */ | |
@media only screen and (min-width : 1224px) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= Large screens ======= */ | |
@media only screen and (min-width : 1824px) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= (portrait and landscape) ======= */ | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= Smartphones (landscape) ======= */ | |
@media only screen and (min-width : 321px) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= Smartphones (portrait) ======= */ | |
@media only screen and (max-width : 320px) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= iPads (portrait and landscape) ======= */ | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= iPads (landscape) ======= */ | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= iPads (portrait) ======= */ | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) { | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= 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) { | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= iPhone 5 ======= */ | |
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= iPhone 6 ======= */ | |
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= iPhone 6+ ======= */ | |
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= Samsung Galaxy S3 ======= */ | |
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){ | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= Samsung Galaxy S4 ======= */ | |
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){ | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){ | |
/*------------ Styles go here ------------- */ | |
} | |
/* ======= Samsung Galaxy S5 ======= */ | |
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){ | |
/*------------ Styles go here ------------- */ | |
} | |
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){ | |
/*------------ Styles go here ------------- */ | |
} | |
/* ----------- Kindle Fire HD 7" ----------- */ | |
/* Portrait and Landscape */ | |
@media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.5) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* Portrait */ | |
@media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* Landscape */ | |
@media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: landscape) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* ----------- Kindle Fire HD 8.9" ----------- */ | |
/* Portrait and Landscape */ | |
@media only screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1.5) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* Portrait */ | |
@media only screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) { | |
/*------------ Styles go here ------------- */ | |
} | |
/* Landscape */ | |
@media only screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1.5)and (orientation: landscape) { | |
/*------------ Styles go here ------------- */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment