Skip to content

Instantly share code, notes, and snippets.

@adamjohnson
Last active November 28, 2017 16:54
Show Gist options
  • Save adamjohnson/435e63218c6882e7ade5 to your computer and use it in GitHub Desktop.
Save adamjohnson/435e63218c6882e7ade5 to your computer and use it in GitHub Desktop.
Media Query Sublime Text Snippet
<snippet>
<content><![CDATA[
@include mq(\$bp-${1:}) \{
${2:Type then hit tab!}
\} //mq
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>mq</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope> seems to break stuff / not work / disable snippet. ¯\_(ツ)_/¯ -->
<!-- <scope>source.scss</scope> -->
<!-- As a gist: https://gist.github.com/adamjohnson/435e63218c6882e7ade5 -->
<!-- Save this in Packages/User (Go to "Sublime Text > Preferences > Browse Packages" in the menu bar) -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment