Skip to content

Instantly share code, notes, and snippets.

@fabiorochafg
Last active May 8, 2019 17:55
Show Gist options
  • Save fabiorochafg/5596448 to your computer and use it in GitHub Desktop.
Save fabiorochafg/5596448 to your computer and use it in GitHub Desktop.
CSS Media Queries example including devices
/* 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