Skip to content

Commit aaa02ca

Browse files
author
David Gamache
committed
adding animation
1 parent a3ff2a9 commit aaa02ca

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

css/animation.sublime-snippet

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<snippet>
2+
<content><![CDATA[
3+
@-webkit-keyframes fade {
4+
0% {
5+
opacity: 0;
6+
}
7+
100% {
8+
opacity: 100%;
9+
}
10+
}
11+
@-moz-keyframes fade {
12+
0% {
13+
opacity: 0;
14+
}
15+
100% {
16+
opacity: 100%;
17+
}
18+
}
19+
20+
.selector {
21+
/* Animation name, duration, delay, iterations, easing */
22+
-webkit-animation: fade 1s 0 0 ease-out;
23+
-moz-animation: fade 1s 0 0 ease-out;
24+
}]]>
25+
</content>
26+
<tabTrigger>animation</tabTrigger>
27+
<scope>source.css</scope>
28+
<description>Keyframe animation</description>
29+
</snippet>

0 commit comments

Comments
 (0)