File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
5252#yourElement {
5353 #a .animated ; // initialize animation
5454 #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
5757 .bounceOutLeft ; // initialize the animation effect (notice the lack of #a prefix)
5858}
5959```
@@ -82,11 +82,11 @@ Which will output:
8282 -ms-animation-iteration-count : infinite ;
8383 -o-animation-iteration-count : infinite ;
8484 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 ;
9090}
9191```
9292
@@ -112,6 +112,8 @@ swing
112112wobble
113113wiggle
114114pulse
115+ rotate
116+ rotateCC
115117
116118####Flippers
117119flip
You can’t perform that action at this time.
0 commit comments