Skip to content

Instantly share code, notes, and snippets.

@besimhu
Created March 15, 2015 16:16
Show Gist options
  • Save besimhu/0ef86c90cd447e2d988a to your computer and use it in GitHub Desktop.
Save besimhu/0ef86c90cd447e2d988a to your computer and use it in GitHub Desktop.
Snippet to write out media queries faste. Go to 'Tools -> New Snippet' to add your snippet. Use by typing 'mq' followed by Tab until it's filled out.
<snippet>
<content><![CDATA[
+mq(${1})
${2}
]]></content>
<tabTrigger>mq</tabTrigger>
</snippet>
<snippet>
<content><![CDATA[
@include mq(${1}) {
${2}
}
]]></content>
<tabTrigger>mq</tabTrigger>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment