mirror of https://github.com/IanLunn/Hover.git
23 lines
304 B
SCSS
23 lines
304 B
SCSS
|
/* Pulse */
|
||
|
@keyframes pulse {
|
||
|
25% {
|
||
|
transform: scale(1.1);
|
||
|
}
|
||
|
|
||
|
75% {
|
||
|
transform: scale(.9);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin pulse {
|
||
|
display: inline-block;
|
||
|
|
||
|
@extend %hacks;
|
||
|
|
||
|
&:hover {
|
||
|
animation-name: pulse;
|
||
|
animation-duration: 1s;
|
||
|
animation-timing-function: linear;
|
||
|
animation-iteration-count: infinite;
|
||
|
}
|
||
|
}
|