Skip to content

Instantly share code, notes, and snippets.

@PiotrKrzyzek
Created July 21, 2018 17:12
Show Gist options
  • Select an option

  • Save PiotrKrzyzek/25d5b8b2ef53a5f52d3a733688a8419b to your computer and use it in GitHub Desktop.

Select an option

Save PiotrKrzyzek/25d5b8b2ef53a5f52d3a733688a8419b to your computer and use it in GitHub Desktop.
VSCode css snippet for standard media queries
{
"_media": {
"prefix": "_media",
"body": [
"/* 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) {}",
"/* Extra Small Devices, Phones */",
"@media only screen and (max-width : 480px) {}",
"/* Custom, iPhone Retina */",
"@media only screen and (max-width : 320px) {}"
],
"description": "show media queries"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment