1
0
Fork 0
mirror of https://github.com/uhIgnacio/igna.rocks.git synced 2024-08-15 02:23:12 +00:00
igna.rocks/assets/js/less/effects/background-transitions/_back-pulse.less
2021-08-31 11:30:22 -04:00

26 lines
640 B
Text

/* Back Pulse */
.keyframes(~"@{nameSpace}-back-pulse", {
50% {
background-color: rgba(32, 152, 209, .75);
}
});
.back-pulse() {
.hacks();
overflow: hidden;
.prefixed(transition-duration, @slowDuration);
.prefixed(transition-property, "color, background-color");
&:hover,
&:focus,
&:active {
.prefixed(animation-name, ~"@{nameSpace}-back-pulse");
.prefixed(animation-duration, 1s);
.prefixed(animation-delay, @slowDuration);
.prefixed(animation-timing-function, linear);
.prefixed(animation-iteration-count, infinite);
background-color: @activeColor;
background-color: rgba(32, 152, 209, 1);
color: white;
}
}