Update _mixins.sass
This commit is contained in:
parent
07197a5548
commit
b33863294e
@ -78,6 +78,15 @@
|
|||||||
iteration-count: infinite
|
iteration-count: infinite
|
||||||
timing-function: linear
|
timing-function: linear
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add a pulse animation.
|
||||||
|
* $speed: 1s (default), seconds
|
||||||
|
* $size: 1rem (default), unit
|
||||||
|
* $color: black (default), color
|
||||||
|
* $iteration: infinite (default), number
|
||||||
|
*
|
||||||
|
* Examples: @include animationPulse(2s), @include animationPulse(0.5s, 2rem, yellow, 1)
|
||||||
|
*/
|
||||||
@mixin animationPulse($speed: 1s, $size: 1rem, $color: black, $iteration: infinite)
|
@mixin animationPulse($speed: 1s, $size: 1rem, $color: black, $iteration: infinite)
|
||||||
$id: unique-id()
|
$id: unique-id()
|
||||||
@keyframes #{$id}
|
@keyframes #{$id}
|
||||||
|
Loading…
Reference in New Issue
Block a user