Update _mixins.sass
This commit is contained in:
parent
3916c9ff6f
commit
08bc65035d
14
_mixins.sass
14
_mixins.sass
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user