Created
June 23, 2017 13:28
-
-
Save helinsv/5c0c705c7d11715fd33d458c1b7a2801 to your computer and use it in GitHub Desktop.
media
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
| /*========== Desktop First Method ==========*/ | |
| /* Large Devices, Wide Screens */ | |
| @media only screen and (max-width : 1200px) { | |
| } | |
| /* Medium Devices, Desktops */ | |
| @media only screen and (max-width : 992px) { | |
| } | |
| /* Small Devices, Tablets */ | |
| @media only screen and (max-width : 768px) { | |
| /*Disable Animation on Mobile Devices*/ | |
| .animated { | |
| /*CSS transitions*/ | |
| -o-transition-property: none !important; | |
| -moz-transition-property: none !important; | |
| -ms-transition-property: none !important; | |
| -webkit-transition-property: none !important; | |
| transition-property: none !important; | |
| /*CSS transforms*/ | |
| -o-transform: none !important; | |
| -moz-transform: none !important; | |
| -ms-transform: none !important; | |
| -webkit-transform: none !important; | |
| transform: none !important; | |
| /*CSS animations*/ | |
| -webkit-animation: none !important; | |
| -moz-animation: none !important; | |
| -o-animation: none !important; | |
| -ms-animation: none !important; | |
| animation: none !important; | |
| } | |
| } | |
| /* Extra Small Devices, Phones */ | |
| @media only screen and (max-width : 480px) { | |
| } | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (max-width : 320px) { | |
| } | |
| /*========== Mobile First Method ==========*/ | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (min-width : 320px) { | |
| } | |
| /* Extra Small Devices, Phones */ | |
| @media only screen and (min-width : 480px) { | |
| } | |
| /* Small Devices, Tablets */ | |
| @media only screen and (min-width : 768px) { | |
| } | |
| /* Medium Devices, Desktops */ | |
| @media only screen and (min-width : 992px) { | |
| } | |
| /* Large Devices, Wide Screens */ | |
| @media only screen and (min-width : 1200px) { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment