Update _mixins.sass

This commit is contained in:
Andros Fenollosa 2020-04-17 20:36:55 +02:00 committed by GitHub
parent 29eb725f70
commit d447a65f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,3 +70,16 @@
duration: $speed duration: $speed
iteration-count: $iteration iteration-count: $iteration
timing-function: linear 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