Update _mixins.sass

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

View File

@ -1,6 +1,18 @@
@mixin pin @mixin pin()
position: fixed position: fixed
top: 0 top: 0
left: 0 left: 0
right: 0 right: 0
bottom: 0 bottom: 0
@mixin animationRotate($speed: 1s)
@keyframes animationRotate
from
transform: rotate(0)
to
transform: rotate(360deg)
animation:
name: animationRotate
duration: $speed
iteration-count: infinite
timing-function: linear