mirror of https://github.com/IanLunn/Hover.git
Minor fix to hover-shadow
This commit is contained in:
parent
e699c968a8
commit
0cb2937b12
File diff suppressed because one or more lines are too long
|
@ -1529,11 +1529,17 @@
|
|||
.hover-shadow:hover, .hover-shadow:focus, .hover-shadow:active {
|
||||
-webkit-transform: translateY(-6px);
|
||||
transform: translateY(-6px);
|
||||
-webkit-animation-name: hover;
|
||||
animation-name: hover;
|
||||
-webkit-animation-duration: 1.5s;
|
||||
animation-duration: 1.5s;
|
||||
-webkit-animation-delay: 0.3s;
|
||||
animation-delay: 0.3s;
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
animation-iteration-count: infinite;
|
||||
-webkit-animation-direction: alternate;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
.hover-shadow:hover:before, .hover-shadow:focus:before, .hover-shadow:active:before {
|
||||
|
|
|
@ -54,12 +54,12 @@
|
|||
&:focus,
|
||||
&:active {
|
||||
@include prefixed(transform, translateY(-6px));
|
||||
animation-name: hover;
|
||||
animation-duration: 1.5s;
|
||||
animation-delay: $defaultDuration;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
@include prefixed(animation-name, hover);
|
||||
@include prefixed(animation-duration, 1.5s);
|
||||
@include prefixed(animation-delay, $defaultDuration);
|
||||
@include prefixed(animation-timing-function, linear);
|
||||
@include prefixed(animation-iteration-count, infinite);
|
||||
@include prefixed(animation-direction, alternate);
|
||||
|
||||
&:before {
|
||||
opacity: .4;
|
||||
|
|
Loading…
Reference in New Issue