Update _mixins.sass

This commit is contained in:
Andros Fenollosa 2020-06-03 17:45:47 +02:00 committed by GitHub
parent 07197a5548
commit b33863294e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}