mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-12-26 21:41:31 +08:00
Add spin animation
This commit is contained in:
parent
bc371463d5
commit
3a8f74966d
@ -173,6 +173,20 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="animation">
|
||||
<div class="font-animation">
|
||||
<a href="#">
|
||||
<i class="fa fa-spinner faa-spin animated"></i>
|
||||
faa-spin animated
|
||||
</a>
|
||||
</div>
|
||||
<div class="font-animation">
|
||||
<a href="#">
|
||||
<i class="fa fa-spinner faa-spin animated-hover"></i>
|
||||
faa-spin animation-hover
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
|
26
dist/font-awesome-animation.css
vendored
26
dist/font-awesome-animation.css
vendored
@ -322,4 +322,28 @@
|
||||
-webkit-animation: bounce 2s ease infinite;
|
||||
-ms-animation: bounce 2s ease infinite;
|
||||
animation: bounce 2s ease infinite;
|
||||
}
|
||||
}
|
||||
|
||||
/* SPIN */
|
||||
@-moz-keyframes spin{
|
||||
0%{-moz-transform:rotate(0deg)}
|
||||
100%{-moz-transform:rotate(359deg)}
|
||||
}
|
||||
@-webkit-keyframes spin{
|
||||
0%{-webkit-transform:rotate(0deg)}
|
||||
100%{-webkit-transform:rotate(359deg)}
|
||||
}
|
||||
@-ms-keyframes spin{
|
||||
0%{-ms-transform:rotate(0deg)}
|
||||
100%{-ms-transform:rotate(359deg)}
|
||||
}
|
||||
@keyframes spin{
|
||||
0%{transform:rotate(0deg)}
|
||||
100%{transform:rotate(359deg)}
|
||||
}
|
||||
.faa-spin.animated, .faa-spin.animated-hover:hover {
|
||||
-moz-animation: spin 1.5s linear infinite;
|
||||
-webkit-animation: spin 1.5s linear infinite;
|
||||
-ms-animation: spin 1.5s linear infinite;
|
||||
animation: spin 1.5s linear 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
@ -319,4 +319,28 @@
|
||||
-webkit-animation: bounce 2s ease infinite;
|
||||
-ms-animation: bounce 2s ease infinite;
|
||||
animation: bounce 2s ease infinite;
|
||||
}
|
||||
}
|
||||
|
||||
/* SPIN */
|
||||
@-moz-keyframes spin{
|
||||
0%{-moz-transform:rotate(0deg)}
|
||||
100%{-moz-transform:rotate(359deg)}
|
||||
}
|
||||
@-webkit-keyframes spin{
|
||||
0%{-webkit-transform:rotate(0deg)}
|
||||
100%{-webkit-transform:rotate(359deg)}
|
||||
}
|
||||
@-ms-keyframes spin{
|
||||
0%{-ms-transform:rotate(0deg)}
|
||||
100%{-ms-transform:rotate(359deg)}
|
||||
}
|
||||
@keyframes spin{
|
||||
0%{transform:rotate(0deg)}
|
||||
100%{transform:rotate(359deg)}
|
||||
}
|
||||
.faa-spin.animated, .faa-spin.animated-hover:hover {
|
||||
-moz-animation: spin 1.5s linear infinite;
|
||||
-webkit-animation: spin 1.5s linear infinite;
|
||||
-ms-animation: spin 1.5s linear infinite;
|
||||
animation: spin 1.5s linear infinite;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user