mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
21 lines
454 B
SCSS
21 lines
454 B
SCSS
/* Icon Sink */
|
|
@mixin icon-sink {
|
|
@include hacks();
|
|
@include prefixed(transition-duration, $mediumDuration);
|
|
|
|
.hvr-icon {
|
|
@include prefixed(transform, translateZ(0));
|
|
@include prefixed(transition-duration, $mediumDuration);
|
|
@include prefixed(transition-property, transform);
|
|
@include prefixed(transition-timing-function, ease-out);
|
|
}
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
|
|
.hvr-icon {
|
|
@include prefixed(transform, translateY(4px));
|
|
}
|
|
}
|
|
}
|