Add animationPulse
This commit is contained in:
parent
08bc65035d
commit
ad18b62f3a
12
_mixins.sass
12
_mixins.sass
@ -16,3 +16,15 @@
|
|||||||
duration: $speed
|
duration: $speed
|
||||||
iteration-count: infinite
|
iteration-count: infinite
|
||||||
timing-function: linear
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user