mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-12-27 05:51:31 +08:00
27 lines
621 B
SCSS
27 lines
621 B
SCSS
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1.1);
|
|
}
|
|
50% {
|
|
transform: scale(0.8);
|
|
}
|
|
100% {
|
|
transform: scale(1.1);
|
|
}
|
|
}
|
|
.faa-pulse.animated,
|
|
.faa-pulse.animated-hover:hover,
|
|
.faa-parent.animated-hover:hover > .faa-pulse {
|
|
animation: pulse 2s linear infinite;
|
|
}
|
|
.faa-pulse.animated.faa-fast,
|
|
.faa-pulse.animated-hover.faa-fast:hover,
|
|
.faa-parent.animated-hover:hover > .faa-pulse.faa-fast {
|
|
animation: pulse 1s linear infinite;
|
|
}
|
|
.faa-pulse.animated.faa-slow,
|
|
.faa-pulse.animated-hover.faa-slow:hover,
|
|
.faa-parent.animated-hover:hover > .faa-pulse.faa-slow {
|
|
animation: pulse 3s linear infinite;
|
|
}
|