Update _mixins.sass

This commit is contained in:
Andros Fenollosa 2020-06-04 16:13:18 +02:00 committed by GitHub
parent df3cb86e08
commit e0c59a8125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,17 @@
list-style: none
padding: 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.
@ -100,6 +111,13 @@
iteration-count: $iteration
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)
$id: unique-id()
@keyframes #{$id}