Skip to content

Instantly share code, notes, and snippets.

@bjmiller121
Last active August 29, 2015 14:02
Show Gist options
  • Save bjmiller121/54cc184f258ab39d3c8a to your computer and use it in GitHub Desktop.
Save bjmiller121/54cc184f258ab39d3c8a to your computer and use it in GitHub Desktop.
CSS transition snippet for Sublime
<snippet>
<!-- Example: Hello, ${1:this} is a ${2:snippet}. -->
<content><![CDATA[
-webkit-transition: ${1:property} ${2:.25s};
-moz-transition: ${1:property} ${2:.25s};
-o-transition: ${1:property} ${2:.25s};
transition: ${1:property} ${2:.25s};
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>transition</tabTrigger>
<description>Add transition rule with vendor prefixes</description>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.css</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment