mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
19 lines
338 B
SCSS
19 lines
338 B
SCSS
/* Icon Spin */
|
|
@mixin icon-spin {
|
|
@include hacks();
|
|
|
|
.hvr-icon {
|
|
@include prefixed(transition-duration, 1s);
|
|
@include prefixed(transition-property, transform);
|
|
@include prefixed(transition-timing-function, ease-in-out);
|
|
}
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
|
|
.hvr-icon {
|
|
@include prefixed(transform, rotate(360deg));
|
|
}
|
|
}
|
|
}
|