Last active
May 8, 2019 17:55
-
-
Save fabiorochafg/5596448 to your computer and use it in GitHub Desktop.
CSS Media Queries example including devices
This file contains 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
/* For Mobile */ | |
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px), only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) { | |
button, | |
input[type="button"], | |
input[type="submit"] { | |
-webkit-appearance: none; | |
} | |
} | |
/* For screens widths larger than 1440px */ | |
@media screen and (min-width: 1440px) { | |
} | |
/* For screens widths smaller than 1200px */ | |
@media screen and (max-width: 1200px) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment