mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-12-26 21:41:31 +08:00
Add 🎉 animation!
This commit is contained in:
parent
6cac6c46d8
commit
36fbad5f60
@ -155,5 +155,19 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="animation">
|
||||
<div class="font-animation">
|
||||
<a href="#">
|
||||
<i class="fa fa-trophy faa-tada animated"></i>
|
||||
faa-tada animated
|
||||
</a>
|
||||
</div>
|
||||
<div class="font-animation">
|
||||
<a href="#">
|
||||
<i class="fa fa-trophy faa-tada animated-hover"></i>
|
||||
faa-tada animation-hover
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
69
dist/font-awesome-animation.css
vendored
69
dist/font-awesome-animation.css
vendored
File diff suppressed because one or more lines are too long
2
dist/font-awesome-animation.min.css
vendored
2
dist/font-awesome-animation.min.css
vendored
File diff suppressed because one or more lines are too long
@ -124,3 +124,16 @@
|
||||
.faa-shake.animated, .faa-shake.animated-hover:hover {
|
||||
animation: wrench 2.5s ease infinite;
|
||||
}
|
||||
|
||||
/* TADA */
|
||||
@keyframes tada {
|
||||
0% {transform: scale(1)}
|
||||
10%,20% {transform:scale(.9) rotate(-8deg);}
|
||||
30%,50%,70% {transform:scale(1.3) rotate(8deg)}
|
||||
40%,60% {transform:scale(1.3) rotate(-8deg)}
|
||||
80% {transform:scale(1) rotate(0)}
|
||||
}
|
||||
|
||||
.faa-tada.animated, .faa-tada.animated-hover:hover {
|
||||
animation: tada 2s linear infinite;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user