Add animationPulse

This commit is contained in:
Andros Fenollosa 2020-04-14 21:31:10 +02:00 committed by GitHub
parent 08bc65035d
commit ad18b62f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,3 +16,15 @@
duration: $speed
iteration-count: infinite
timing-function: linear
@mixin animationPulse($speed: 1s, $size: 1rem, $color: black)
@keyframes animationPulse
from
box-shadow: 0 0 0 0 $color;
to
box-shadow: 0 0 0 $size transparentize($color, 1);
animation:
name: animationPulse
duration: $speed
iteration-count: infinite
timing-function: linear