mirror of https://github.com/IanLunn/Hover.git
23 lines
306 B
SCSS
23 lines
306 B
SCSS
/* Push */
|
|
@keyframes push {
|
|
50% {
|
|
transform: scale(.8);
|
|
}
|
|
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@mixin push {
|
|
display: inline-block;
|
|
|
|
@extend %hacks;
|
|
|
|
&:hover {
|
|
animation-name: push;
|
|
animation-duration: $defaultDuration;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: 1;
|
|
}
|
|
} |