Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Media query snippet for Sublime Text 2. Quickly inserts a media query rule by typing 'mq' into the editor.
<snippet>
<content><![CDATA[
@media only screen and (${1: max or min}-width: ${2: enter value here}) {
${3:}
}
]]></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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment