Update _mixins.sass
This commit is contained in:
parent
29eb725f70
commit
d447a65f8c
13
_mixins.sass
13
_mixins.sass
@ -70,3 +70,16 @@
|
||||
duration: $speed
|
||||
iteration-count: $iteration
|
||||
timing-function: linear
|
||||
|
||||
@mixin animationOpacity($speed: 1s, $iteration: infinite)
|
||||
$id: unique-id()
|
||||
@keyframes #{$id}
|
||||
from
|
||||
opacity: 0
|
||||
to
|
||||
opacity: 1
|
||||
animation:
|
||||
name: $id
|
||||
duration: $speed
|
||||
iteration-count: $iteration
|
||||
timing-function: linear
|
||||
|
Loading…
Reference in New Issue
Block a user