Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* All screens in portrait mode */
- /* iPhone 5 */
- @media only screen and (max-width : 320px) {
- /* Styles */
- }
- /* Galaxy S5 */
- @media only screen and (max-width : 360px) {
- /* Styles */
- }
- /* iPhone 6 */
- @media only screen and (max-width : 380px) {
- /* Styles */
- }
- /* iPhone 6 Plus */
- @media only screen and (max-width : 420px) {
- /* Styles */
- }
- /* iPads (portrait and landscape) */
- @media only screen
- and (min-width : 768px)
- and (max-width : 1024px) {
- /* Styles */
- }
- /* iPads (landscape) ----------- */
- @media only screen
- and (min-device-width : 768px)
- and (max-device-width : 1024px)
- and (orientation : landscape) {
- /* Styles */
- }
- /* iPads (portrait) ----------- */
- @media only screen
- and (min-device-width : 768px)
- and (max-device-width : 1024px)
- and (orientation : portrait) {
- /* Styles */
- }
- /* Desktops and laptops ----------- */
- @media only screen
- and (min-width : 1224px) {
- /* Styles */
- }
- /* Large screens ----------- */
- @media only screen
- and (min-width : 1824px) {
- /* Styles */
- }
Add Comment
Please, Sign In to add comment