public
Created

Quick snippet to compliment the naming on this post: http://css-tricks.com/media-queries-sass-3-2-and-codekit/

  • Download Gist
breakpoint.sublime-snippet
1 2 3 4 5 6 7 8 9 10 11 12
<snippet>
<content><![CDATA[
@include breakpoint(${1:papa-bear / mama-bear / baby-bear}) {
${2:}
}
]]></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.python</scope> -->
</snippet>

Chris talked through what was going on in this here: http://css-tricks.com/video-screencasts/120-a-sublime-text-snippet-for-media-query-mixins/

I likely should use a scope of .scss on this file, I have a few other snippets floating around on my gists: https://gist.github.com/jnowland/

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.