Heavy-bordered buttons

This commit is contained in:
James Barnsley
2017-02-12 21:11:50 +13:00
parent e71b74f196
commit 574f378544
10 changed files with 110 additions and 86 deletions

View File

@ -38,13 +38,20 @@ $bp_shallow: 650px;
transition: all $duration $easing;
}
@keyframes fill_from_left {
from { width: 0%; }
to { width: 100%; }
@mixin noanimate(){
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
transition: none !important;
}
@keyframes shrink_from_right {
from { width: 100%; }
to { width: 0%; }
}
@mixin animate_timeout( $duration: 0.2s ){
animation-name: fill_from_left;
animation-name: shrink_from_right;
animation-duration: $duration;
animation-timing-function: linear;
}