Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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