mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
13 lines
302 B
SCSS
13 lines
302 B
SCSS
/* Float */
|
|
@mixin float {
|
|
@include hacks();
|
|
@include prefixed(transition-duration, $mediumDuration);
|
|
@include prefixed(transition-property, transform);
|
|
@include prefixed(transition-timing-function, ease-out);
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
@include prefixed(transform, translateY(-8px));
|
|
}
|
|
}
|