mirror of https://github.com/IanLunn/Hover.git
26 lines
549 B
Plaintext
26 lines
549 B
Plaintext
/* Icon Bounce */
|
|
|
|
.icon-bounce() {
|
|
.hacks();
|
|
position: relative;
|
|
padding-right: @spaceBetweenTextAndArrows;
|
|
.prefixed(transition-duration, @mediumDuration);
|
|
|
|
.fa, .hover-icon {
|
|
.prefixed(transform, translateZ(0));
|
|
.prefixed(transition-duration, @mediumDuration);
|
|
.prefixed(transition-property, transform);
|
|
.prefixed(transition-timing-function, ease-out);
|
|
}
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
|
|
.fa, .hover-icon {
|
|
.prefixed(transform, scale(1.5));
|
|
.prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36));
|
|
}
|
|
}
|
|
}
|