File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -2991,7 +2991,7 @@ protected function parseChunk() {
29912991
29922992 // doesn't match built in directive, do generic one
29932993 if ($ this ->literal ('@ ' , false ) && $ this ->keyword ($ dirName ) &&
2994- ($ this ->openString ('{ ' , $ dirValue ) || true ) &&
2994+ ($ this ->variable ( $ dirValue ) || $ this -> openString ('{ ' , $ dirValue ) || true ) &&
29952995 $ this ->literal ('{ ' ))
29962996 {
29972997 $ directive = $ this ->pushSpecialBlock ('directive ' );
Original file line number Diff line number Diff line change @@ -156,3 +156,16 @@ div {
156156#please-wait {
157157 @include logo (1em , $left : 4em , $bottom : 3em );
158158}
159+
160+ @mixin keyframes ( $name )
161+ {
162+ @-webkit-keyframes $name {
163+ @content ;
164+ }
165+ }
166+
167+ @include keyframes ( change- color )
168+ {
169+ 0% { color : green ; }
170+ 100% { color : red ; }
171+ }
Original file line number Diff line number Diff line change @@ -81,3 +81,10 @@ div.mixin-content-with-arg {
8181 right : 0 ;
8282 bottom : 3em ;
8383 left : 4em ; }
84+
85+ @-webkit-keyframes change-color {
86+ 0% {
87+ color : green; }
88+
89+ 100% {
90+ color : red; } }
You can’t perform that action at this time.
0 commit comments