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/scss/effects/background-transitions/_back-pulse.scss
2021-08-31 11:30:22 -04:00

26 lines
710 B
SCSS

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