2015-01-22 16:48:08 +01:00
|
|
|
<section id="animated">
|
2014-08-22 18:48:33 +02:00
|
|
|
<h2 class="page-header">
|
2015-01-22 16:48:08 +01:00
|
|
|
Animated Icons
|
2014-08-22 18:48:33 +02:00
|
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
2015-01-22 16:48:08 +01:00
|
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/less/animated.less" class="text-muted padding-right">View LESS</a>
|
|
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_animated.scss" class="text-muted">View SASS</a>
|
2014-08-22 18:48:33 +02:00
|
|
|
</div>
|
|
|
|
</h2>
|
2013-05-09 03:24:41 +02:00
|
|
|
<div class="row">
|
2013-10-06 16:46:50 +02:00
|
|
|
<div class="col-md-3 col-sm-4">
|
2013-10-23 16:19:49 +02:00
|
|
|
<p>
|
2015-01-22 17:13:02 +01:00
|
|
|
<i class="fa fa-spinner fa-spin fa-3x fa-fw margin-bottom"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading example (with fa-spinner icon)</span>
|
|
|
|
|
2015-01-22 17:13:02 +01:00
|
|
|
<i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw margin-bottom"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading (with fa-circle-o-notch icon)</span>
|
|
|
|
|
2015-01-22 17:13:02 +01:00
|
|
|
<i class="fa fa-refresh fa-spin fa-3x fa-fw margin-bottom"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading example (with fa-refresh icon)</span>
|
|
|
|
|
2015-01-22 17:13:02 +01:00
|
|
|
<i class="fa fa-cog fa-spin fa-3x fa-fw margin-bottom"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading example (with fa-cog icon)</span>
|
|
|
|
|
2015-01-22 17:52:57 +01:00
|
|
|
<i class="fa fa-spinner fa-pulse fa-3x fa-fw margin-bottom"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading example (with fa-spinner icon)</span>
|
2013-10-23 16:19:49 +02:00
|
|
|
</p>
|
2013-10-23 16:05:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-9 col-sm-8">
|
2013-10-19 21:39:26 +02:00
|
|
|
<p>
|
2015-01-22 16:48:08 +01:00
|
|
|
Use the <code>fa-spin</code> class to get any icon to rotate, and use <code>fa-pulse</code> to have it rotate
|
|
|
|
with 8 steps. Works well with <code>fa-spinner</code>, <code>fa-refresh</code>, and <code>fa-cog</code>.
|
2013-10-19 21:39:26 +02:00
|
|
|
</p>
|
2013-05-23 19:14:14 +02:00
|
|
|
{% highlight html %}
|
2016-05-13 15:44:41 +02:00
|
|
|
<i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading...</span>
|
|
|
|
|
2016-05-13 15:44:41 +02:00
|
|
|
<i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading...</span>
|
|
|
|
|
2016-05-13 15:44:41 +02:00
|
|
|
<i class="fa fa-refresh fa-spin fa-3x fa-fw"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading...</span>
|
|
|
|
|
2016-05-13 15:44:41 +02:00
|
|
|
<i class="fa fa-cog fa-spin fa-3x fa-fw"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading...</span>
|
|
|
|
|
2016-05-13 15:44:41 +02:00
|
|
|
<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
|
2016-04-01 15:45:15 +02:00
|
|
|
<span class="sr-only">Loading...</span>
|
2013-05-09 03:24:41 +02:00
|
|
|
{% endhighlight %}
|
2013-10-19 21:39:26 +02:00
|
|
|
<p class="alert alert-success">
|
2016-04-01 15:45:15 +02:00
|
|
|
<i class="fa fa-exclamation-triangle fa-lg" aria-hidden="true"></i><strong class="sr-only">Note:</strong>
|
|
|
|
Some browsers on some platforms have issues with animated icons resulting in a jittery wobbling effect. See
|
|
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/issues/671" class="alert-link" target="_blank">issue #671</a>
|
2015-06-08 20:37:54 +02:00
|
|
|
for examples and possible workarounds.
|
|
|
|
</p>
|
|
|
|
<p class="alert alert-success">
|
2016-04-01 15:45:15 +02:00
|
|
|
<i class="fa fa-info-circle fa-lg" aria-hidden="true"></i><strong class="sr-only">Note:</strong> CSS3 animations aren't supported in IE8 - IE9.
|
2013-05-09 03:24:41 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|