Skip to content

Instantly share code, notes, and snippets.

@jnowland
Created March 13, 2013 11:11
Show Gist options
  • Save jnowland/5151162 to your computer and use it in GitHub Desktop.
Save jnowland/5151162 to your computer and use it in GitHub Desktop.
Quick snippet to compliment the naming on this post: http://css-tricks.com/media-queries-sass-3-2-and-codekit/
<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>
@jnowland
Copy link
Author

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment