Browse code

Created repository.

DoubleBastionAdmin authored on 02/03/2022 00:26:46
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,60 @@
1
+<section id="animated">
2
+  <h2 class="page-header">
3
+    Animated Icons
4
+    <div class="pull-right text-default margin-top padding-top-sm hidden-xs">
5
+      <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/less/animated.less" class="text-muted padding-right">View LESS</a>
6
+      <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_animated.scss" class="text-muted">View SASS</a>
7
+    </div>
8
+  </h2>
9
+  <div class="row">
10
+    <div class="col-md-3 col-sm-4">
11
+      <p>
12
+        <i class="fa fa-spinner fa-spin fa-3x fa-fw margin-bottom"></i>
13
+        <span class="sr-only">Loading example (with fa-spinner icon)</span>
14
+
15
+        <i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw margin-bottom"></i>
16
+        <span class="sr-only">Loading (with fa-circle-o-notch icon)</span>
17
+
18
+        <i class="fa fa-refresh fa-spin fa-3x fa-fw margin-bottom"></i>
19
+        <span class="sr-only">Loading example (with fa-refresh icon)</span>
20
+
21
+        <i class="fa fa-cog fa-spin fa-3x fa-fw margin-bottom"></i>
22
+        <span class="sr-only">Loading example (with fa-cog icon)</span>
23
+
24
+        <i class="fa fa-spinner fa-pulse fa-3x fa-fw margin-bottom"></i>
25
+        <span class="sr-only">Loading example (with fa-spinner icon)</span>
26
+      </p>
27
+    </div>
28
+    <div class="col-md-9 col-sm-8">
29
+      <p>
30
+        Use the <code>fa-spin</code> class to get any icon to rotate, and use <code>fa-pulse</code> to have it rotate
31
+        with 8 steps. Works well with <code>fa-spinner</code>, <code>fa-refresh</code>, and <code>fa-cog</code>.
32
+      </p>
33
+{% highlight html %}
34
+<i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
35
+<span class="sr-only">Loading...</span>
36
+
37
+<i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw"></i>
38
+<span class="sr-only">Loading...</span>
39
+
40
+<i class="fa fa-refresh fa-spin fa-3x fa-fw"></i>
41
+<span class="sr-only">Loading...</span>
42
+
43
+<i class="fa fa-cog fa-spin fa-3x fa-fw"></i>
44
+<span class="sr-only">Loading...</span>
45
+
46
+<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
47
+<span class="sr-only">Loading...</span>
48
+{% endhighlight %}
49
+      <p class="alert alert-success">
50
+        <i class="fa fa-exclamation-triangle fa-lg" aria-hidden="true"></i><strong class="sr-only">Note:</strong>
51
+        Some browsers on some platforms have issues with animated icons resulting in a jittery wobbling effect. See
52
+        <a href="https://github.com/FortAwesome/Font-Awesome/issues/671" class="alert-link" target="_blank">issue #671</a>
53
+        for examples and possible workarounds.
54
+      </p>
55
+      <p class="alert alert-success">
56
+        <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.
57
+      </p>
58
+    </div>
59
+  </div>
60
+</section>