Add shake animation

This commit is contained in:
Louis LIN 2014-02-07 15:25:25 +01:00
parent 4ba935824c
commit 817d670ef2
4 changed files with 29 additions and 5 deletions

View File

@ -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>
&nbsp;faa-shake animated
</a>
</div>
<div class="font-animation">
<a href="#">
<i class="fa fa-envelope faa-shake animated-hover"></i>
&nbsp;faa-shake animation-hover
</a>
</div>
</div>
</div>
</section>
</article>

View File

@ -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;
@ -403,3 +403,8 @@
-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;
}

File diff suppressed because one or more lines are too long

View File

@ -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;
@ -400,3 +400,8 @@
-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;
}