Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Media Query Sublime Text Snippet
<snippet>
<content><![CDATA[
@include mq(\$bp-${1:}${2:)} \{
${3:type-then-hit-tab-twice!}
\} //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>source.scss</scope>
<!-- As a gist: https://gist.github.com/adamjohnson/435e63218c6882e7ade5 -->
<!-- You could also do: @include mq(\$${1:bp-} -->
<!-- Or @include mq(\$bp-${1:}${2:)} -->
<!-- Or @include mq(\$bp-${1:hit-tab} ${2:hit-tab-again!} ${3:hit-tab-another-time} -->
<!-- Save this in Packages/User (Go to "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
Something went wrong with that request. Please try again.