Skip to content

Instantly share code, notes, and snippets.

@jordanmoore
Created November 18, 2013 10:08
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jordanmoore/7525517 to your computer and use it in GitHub Desktop.
Save jordanmoore/7525517 to your computer and use it in GitHub Desktop.
Go to Preferences > Browse Packages > Emmet > Emmet.sublime-settings and add this between the curly brackets under snippets for writing better media queries quickly in Emmet. mqm => min-width media query mqx => max-width media query
"css": {
"abbreviations": {
"mqm": "@media screen and (min-width:${1}) {\n\t|\n}",
"mqx": "@media screen and (max-width:${1}) {\n\t|\n}"
}
}
@keeprock
Copy link

keeprock commented Dec 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment