mirror of https://github.com/IanLunn/Hover.git
20 lines
343 B
SCSS
20 lines
343 B
SCSS
/* Pulse Shrink */
|
|
@keyframes pulse-shrink {
|
|
to {
|
|
transform: scale(.9);
|
|
}
|
|
}
|
|
|
|
@mixin pulse-shrink {
|
|
display: inline-block;
|
|
|
|
@extend %hacks;
|
|
|
|
&:hover {
|
|
animation-name: pulse-shrink;
|
|
animation-duration: $defaultDuration;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
} |