mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-12-27 14:01:33 +08:00
Add shake animation
This commit is contained in:
parent
4ba935824c
commit
817d670ef2
@ -215,6 +215,20 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="animation">
|
||||
<div class="font-animation">
|
||||
<a href="#">
|
||||
<i class="fa fa-envelope faa-shake animated"></i>
|
||||
faa-shake animated
|
||||
</a>
|
||||
</div>
|
||||
<div class="font-animation">
|
||||
<a href="#">
|
||||
<i class="fa fa-envelope faa-shake animated-hover"></i>
|
||||
faa-shake animation-hover
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
|
9
dist/font-awesome-animation.css
vendored
9
dist/font-awesome-animation.css
vendored
@ -370,7 +370,7 @@
|
||||
100%{transform: translateY(0)}
|
||||
}
|
||||
.faa-float.animated, .faa-float.animated-hover:hover {
|
||||
-moz-animation: float 2s linear infinite;
|
||||
- moz-animation: float 2s linear infinite;
|
||||
-webkit-animation: float 2s linear infinite;
|
||||
-ms-animation: float 2s linear infinite;
|
||||
animation: float 2s linear infinite;
|
||||
@ -402,4 +402,9 @@
|
||||
-webkit-animation: pulse 2s linear infinite;
|
||||
-ms-animation: pulse 2s linear infinite;
|
||||
animation: pulse 2s linear infinite;
|
||||
}
|
||||
}
|
||||
|
||||
/* SHAKE */
|
||||
.faa-shake.animated, .faa-shake.animated-hover:hover {
|
||||
-webkit-animation: wrench 2.5s ease infinite;
|
||||
}
|
||||
|
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
@ -367,7 +367,7 @@
|
||||
100%{transform: translateY(0)}
|
||||
}
|
||||
.faa-float.animated, .faa-float.animated-hover:hover {
|
||||
-moz-animation: float 2s linear infinite;
|
||||
- moz-animation: float 2s linear infinite;
|
||||
-webkit-animation: float 2s linear infinite;
|
||||
-ms-animation: float 2s linear infinite;
|
||||
animation: float 2s linear infinite;
|
||||
@ -399,4 +399,9 @@
|
||||
-webkit-animation: pulse 2s linear infinite;
|
||||
-ms-animation: pulse 2s linear infinite;
|
||||
animation: pulse 2s linear infinite;
|
||||
}
|
||||
}
|
||||
|
||||
/* SHAKE */
|
||||
.faa-shake.animated, .faa-shake.animated-hover:hover {
|
||||
-webkit-animation: wrench 2.5s ease infinite;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user