Update _mixins.sass
This commit is contained in:
parent
df3cb86e08
commit
e0c59a8125
18
_mixins.sass
18
_mixins.sass
@ -36,6 +36,17 @@
|
|||||||
list-style: none
|
list-style: none
|
||||||
padding: initial
|
padding: initial
|
||||||
margin: initial
|
margin: initial
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Remove initial styles <button>
|
||||||
|
*
|
||||||
|
* Examples: @include buttonReset()
|
||||||
|
*/
|
||||||
|
@mixin buttonReset()
|
||||||
|
background: initial
|
||||||
|
border: initial
|
||||||
|
padding: initial
|
||||||
|
margin: initial
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add a border through the shadows avoiding extra space.
|
* Add a border through the shadows avoiding extra space.
|
||||||
@ -100,6 +111,13 @@
|
|||||||
iteration-count: $iteration
|
iteration-count: $iteration
|
||||||
timing-function: linear
|
timing-function: linear
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add a opacity animation.
|
||||||
|
* $speed: 1s (default), seconds
|
||||||
|
* $iteration: infinite (default), number
|
||||||
|
*
|
||||||
|
* Examples: @include animationOpacity(2s), @include animationOpacity(0.5s, 1)
|
||||||
|
*/
|
||||||
@mixin animationOpacity($speed: 1s, $iteration: infinite)
|
@mixin animationOpacity($speed: 1s, $iteration: infinite)
|
||||||
$id: unique-id()
|
$id: unique-id()
|
||||||
@keyframes #{$id}
|
@keyframes #{$id}
|
||||||
|
Loading…
Reference in New Issue
Block a user