File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ One of the advantages of using Less is that you can create functions, which are
52
52
#yourElement {
53
53
#a .animated ; // initialize animation
54
54
#a .iterate (infinite ); // repeat the animation forever
55
- #a .delay (2s ); // delay everything for 2 seconds
56
- #a .duration (3s ); // each iteration will play for 3 seconds
55
+ #a .delay (a , 2s ); // delay everything for 2 seconds
56
+ #a .duration (a , 3s ); // each iteration will play for 3 seconds
57
57
.bounceOutLeft ; // initialize the animation effect (notice the lack of #a prefix)
58
58
}
59
59
```
@@ -82,11 +82,11 @@ Which will output:
82
82
-ms-animation-iteration-count : infinite ;
83
83
-o-animation-iteration-count : infinite ;
84
84
animation-iteration-count : infinite ;
85
- -webkit-transition -delay : 2s ;
86
- -moz-transition -delay : 2s ;
87
- -ms-transition -delay : 2s ;
88
- -o-transition -delay : 2s ;
89
- transition -delay : 2s ;
85
+ -webkit-animation -delay : 2s ;
86
+ -moz-animation -delay : 2s ;
87
+ -ms-animation -delay : 2s ;
88
+ -o-animation -delay : 2s ;
89
+ animation -delay : 2s ;
90
90
}
91
91
```
92
92
@@ -112,6 +112,8 @@ swing
112
112
wobble
113
113
wiggle
114
114
pulse
115
+ rotate
116
+ rotateCC
115
117
116
118
####Flippers
117
119
flip
You can’t perform that action at this time.
0 commit comments