mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-12-27 05:51:31 +08:00
25 lines
566 B
SCSS
25 lines
566 B
SCSS
@keyframes flash {
|
|
0%,100%,50% {
|
|
opacity:1;
|
|
}
|
|
25%,75%
|
|
{
|
|
opacity:0;
|
|
}
|
|
}
|
|
.faa-flash.animated,
|
|
.faa-flash.animated-hover:hover,
|
|
.faa-parent.animated-hover:hover > .faa-flash {
|
|
animation: flash 2s ease infinite;
|
|
}
|
|
.faa-flash.animated.faa-fast,
|
|
.faa-flash.animated-hover.faa-fast:hover,
|
|
.faa-parent.animated-hover:hover > .faa-flash.faa-fast {
|
|
animation: flash 1s ease infinite;
|
|
}
|
|
.faa-flash.animated.faa-slow,
|
|
.faa-flash.animated-hover.faa-slow:hover,
|
|
.faa-parent.animated-hover:hover > .faa-flash.faa-slow {
|
|
animation: flash 3s ease infinite;
|
|
}
|