1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
|
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8" />
<title>Font Awesome Examples</title>
<meta name="description" content="Font Awesome, the iconic font designed for Bootstrap">
<meta name="author" content="Dave Gandy">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--<meta name="viewport" content="initial-scale=1; maximum-scale=1">-->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- CSS
================================================== -->
<link rel="stylesheet" href="../assets/css/site.css">
<link rel="stylesheet" href="../assets/css/pygments.css">
<link rel="stylesheet" href="../assets/font-awesome/css/font-awesome.css">
<!--[if IE 7]>
<link rel="stylesheet" href="../assets/font-awesome/css/font-awesome-ie7.css">
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
<script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30136587-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body data-spy="scroll" data-target=".navbar">
<div class="wrapper"> <!-- necessary for sticky footer. wrap all content except footer -->
<div class="navbar navbar-inverse navbar-static-top hidden-print">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="../"><i class="icon-flag"></i> Font Awesome</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="hidden-tablet "><a href="../">Home</a></li>
<li><a href="../get-started/">Get Started</a></li>
<li class="dropdown-split-left"><a href="../icons/">Icons</a></li>
<li class="dropdown dropdown-split-right hidden-phone">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-caret-down"></i>
</a>
<ul class="dropdown-menu pull-right">
<li><a href="../icons/"><i class="icon-flag icon-fixed-width"></i> Icons</a></li>
<li class="divider"></li>
<li><a href="../icons/#new"><i class="icon-shield icon-fixed-width"></i> New Icons in 3.2.1</a></li>
<li><a href="../icons/#web-application"><i class="icon-camera-retro icon-fixed-width"></i> Web Application Icons</a></li>
<li><a href="../icons/#currency"><i class="icon-won icon-fixed-width"></i> Currency Icons</a></li>
<li><a href="../icons/#text-editor"><i class="icon-file-text-alt icon-fixed-width"></i> Text Editor Icons</a></li>
<li><a href="../icons/#directional"><i class="icon-hand-right icon-fixed-width"></i> Directional Icons</a></li>
<li><a href="../icons/#video-player"><i class="icon-play-sign icon-fixed-width"></i> Video Player Icons</a></li>
<li><a href="../icons/#brand"><i class="icon-github icon-fixed-width"></i> Brand Icons</a></li>
<li><a href="../icons/#medical"><i class="icon-medkit icon-fixed-width"></i> Medical Icons</a></li>
</ul>
</li>
<li class="dropdown-split-left active"><a href="../examples/">Examples</a></li>
<li class="dropdown dropdown-split-right hidden-phone active">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-caret-down"></i>
</a>
<ul class="dropdown-menu pull-right">
<li><a href="../examples/">Examples</a></li>
<li class="divider"></li>
<li><a href="../examples/#new-styles">New Styles</a></li>
<li><a href="../examples/#inline-icons">Inline Icons</a></li>
<li><a href="../examples/#larger-icons">Larger Icons</a></li>
<li><a href="../examples/#bordered-pulled">Bordered & Pulled</a></li>
<li><a href="../examples/#buttons">Buttons</a></li>
<li><a href="../examples/#button-groups">Button Groups</a></li>
<li><a href="../examples/#button-dropdowns">Button Dropdowns</a></li>
<li><a href="../examples/#bulleted-lists">Bulleted Lists</a></li>
<li><a href="../examples/#navigation">Navigation</a></li>
<li><a href="../examples/#form-inputs">Form Inputs</a></li>
<li><a href="../examples/#animated-spinner">Animated Spinner</a></li>
<li><a href="../examples/#rotated-flipped">Rotated & Flipped</a></li>
<li><a href="../examples/#stacked">Stacked</a></li>
<li><a href="../examples/#custom">Custom CSS</a></li>
</ul>
</li>
<li><a href="../whats-new/">
<span class="hidden-tablet">What's </span>New</a>
</li>
<li><a href="../community/">Community</a></li>
<li><a href="../license/">License</a></li>
</ul>
<ul class="nav pull-right">
<li><a href="http://blog.fontawesome.io">Blog</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="jumbotron jumbotron-ad hidden-print">
<div class="container">
<h1><i class="icon-magic icon-large"></i> Examples</h1>
<p>Lots of easy ways to use Font Awesome</p>
</div>
</div>
<div id="social-buttons" class="hidden-print">
<div class="container">
<ul class="unstyled inline">
<li>
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
</li>
<li>
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102px" height="20px"></iframe>
</li>
<li class="follow-btn">
<a href="https://twitter.com/fontawesome" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @fontawesome</a>
</li>
<li class="tweet-btn hidden-phone">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://fontawesome.io" data-text="Font Awesome, the iconic font designed for Bootstrap" data-counturl="http://fortawesome.github.com/Font-Awesome/" data-count="horizontal" data-via="fontawesome" data-related="davegandy:Creator of Font Awesome">Tweet</a>
</li>
</ul>
</div>
</div>
<div class="container">
<section class="hidden-print">
<div class="row stripe-ad">
<div class="span8">
<p class="lead">
After you <a href="../get-started/">get up and running</a>, you can place Font Awesome icons just about
anywhere with the <code><i></code> tag.
Many examples appreciatively re-used from the <a href="http://getbootstrap.com">Bootstrap documentation</a>.
</p>
</div>
<div class="span4">
<div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div><script type="text/javascript">var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = "http://engine.carbonads.com/z/32291/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script></div></div>
</div>
</div>
</section>
<div id="new-styles">
<h2 class="page-header">New Styles in 3.2</h2>
<div class="row">
<div class="span4">
<h4><a href="#rotated-flipped">Rotated and Flipped Icons</a></h4>
<div class="well well-transparent">
<i class="icon-shield"></i> normal<br>
<i class="icon-shield icon-rotate-90"></i> icon-rotate-90<br>
<i class="icon-shield icon-rotate-180"></i> icon-rotate-180<br>
<i class="icon-shield icon-rotate-270"></i> icon-rotate-270<br>
<i class="icon-shield icon-flip-horizontal"></i> icon-flip-horizontal<br>
<i class="icon-shield icon-flip-vertical"></i> icon-flip-vertical
</div>
</div>
<div class="span4">
<h4><a href="#stacked">Stacked Icons</a></h4>
<div class="well well-transparent stacked">
<span class="icon-stack">
<i class="icon-check-empty icon-stack-base"></i>
<i class="icon-twitter"></i>
</span>
icon-twitter on icon-check-empty<br>
<span class="icon-stack">
<i class="icon-circle icon-stack-base"></i>
<i class="icon-flag icon-light"></i>
</span>
icon-flag on icon-circle<br>
<span class="icon-stack">
<i class="icon-sign-blank icon-stack-base"></i>
<i class="icon-terminal icon-light"></i>
</span>
icon-terminal on icon-sign-blank
</div>
</div>
<div class="span4">
<h4><a href="#bulleted-lists">Better Bulleted Lists</a></h4>
<div class="well well-transparent">
<ul class="icons-ul">
<li><i class="icon-li icon-chevron-sign-right"></i>New bulleted lists</li>
<li><i class="icon-li icon-bullseye"></i>Fix some old bugs</li>
<li><i class="icon-li icon-play-sign"></i>And deal with arbitrary</li>
<li><i class="icon-li icon-ok-sign"></i>Font sizes better</li>
</ul>
</div>
</div>
</div>
</div>
<section id="inline-icons">
<h2 class="page-header">Inline Icons</h2>
<div class="row">
<div class="span3">
<p>Place Font Awesome icons just about anywhere with the <code><i></code> tag.</p>
</div>
<div class="span9">
<div class="well well-transparent">
<div style="font-size: 24px; line-height: 1.5em;">
<i class="icon-camera-retro"></i> icon-camera-retro
</div>
</div>
<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro"</span><span class="nt">></i></span> icon-camera-retro
</code></pre></div>
<div class="alert alert-info"><i class="icon-info-sign"></i> Icon classes are echoed via CSS :before.</div>
</div>
</div>
</section>
<section id="larger-icons">
<h2 class="page-header">Larger Icons</h2>
<div class="row">
<div class="span3">
<p>
To increase the size of icons relative to its container, use <code>icon-large</code>, <code>icon-2x</code>,
<code>icon-3x</code>, or <code>icon-4x</code>.
</p>
</div>
<div class="span9">
<p>
Increase the icon size by using the <code>icon-large</code> (33% increase), <code>icon-2x</code>,
<code>icon-3x</code>, or <code>icon-4x</code> classes.
</p>
<div class="well well-transparent">
<div style="font-size: 24px; line-height: 1.5em;">
<p><i class="icon-camera-retro icon-large"></i> icon-camera-retro</p>
<p><i class="icon-camera-retro icon-2x"></i> icon-camera-retro</p>
<p><i class="icon-camera-retro icon-3x"></i> icon-camera-retro</p>
<p><i class="icon-camera-retro icon-4x"></i> icon-camera-retro</p>
</div>
</div>
<div class="highlight"><pre><code class="html"><span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-large"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span>
<span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-2x"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span>
<span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-3x"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span>
<span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-4x"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span>
</code></pre></div>
<div class="alert alert-info">
<i class="icon-info-sign"></i> If your icons are getting chopped off on top and bottom, make sure you have
sufficient line-height.
</div>
</div>
</div>
</section>
<section id="bordered-pulled">
<h2 class="page-header">Bordered & Pulled Icons</h2>
<div class="row">
<div class="span3">
<p>
Use <code>icon-border</code> and <code>pull-right</code> or <code>pull-left</code> for easy pull quotes or
article graphics.
</p>
</div>
<div class="span9">
<div class="well well-large well-transparent">
<i class="icon-quote-left icon-4x pull-left icon-muted"></i>
Use a few of the new styles together, and you've got easy pull quotes or a great introductory article image.
Or spinning icons for loading and refreshing content. Or fun big icons in multi-line buttons. You can combine all
of them in any combination to get lots of new possibilities.
</div>
<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-quote-left icon-4x pull-left icon-muted"</span><span class="nt">></i></span>
Use a few of the new styles together ... lots of new possibilities.
</code></pre></div>
<div class="well well-large well-transparent clearfix">
<i class="icon-flag icon-4x pull-left icon-border"></i>
Use a few of the new styles together, and you've got easy pull quotes or a great introductory article image.
Or spinning icons for loading and refreshing content. Or fun big icons in multi-line buttons. You can combine all
of them in any combination to get lots of new possibilities.
</div>
<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-flag icon-4x pull-left icon-border"</span><span class="nt">></i></span>
Use a few of the new styles together ... lots of new possibilities.
</code></pre></div>
</div>
</div>
</section>
<section id="buttons">
<h2 class="page-header">Buttons</h2>
<div class="row">
<div class="span3">
<p>
<a class="btn" href="#">
<i class="icon-repeat"></i> Reload</a>
<a class="btn btn-success" href="#">
<i class="icon-shopping-cart icon-large"></i> Checkout</a>
</p>
<p>
<a class="btn btn-large btn-primary" href="#">
<i class="icon-comment"></i> Comment</a>
<a class="btn btn-small btn-info" href="#">
<i class="icon-info-sign"></i> Info</a>
</p>
<p>
<a class="btn btn-danger" href="#">
<i class="icon-trash icon-large"></i> Delete</a>
<a class="btn btn-small" href="#">
<i class="icon-cog"></i> Settings</a>
</p>
<p>
<a class="btn btn-large btn-danger" href="#">
<i class="icon-flag icon-2x pull-left"></i> Font Awesome<br>Version 3.2.1</a>
</p>
<p>
<a class="btn btn-primary" href="#">
<i class="icon-refresh icon-spin"></i> Synchronizing Content...</a>
</p>
</div>
<div class="span9">
<p>
Font Awesome icons work great in buttons. You can even combine them with larger icon styles,
<code>pull-right</code> and <code>pull-left</code>, and <code>icon-spin</code>.
</p>
<div class="highlight"><pre><code class="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-repeat"</span><span class="nt">></i></span> Reload<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-success"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shopping-cart icon-large"</span><span class="nt">></i></span> Checkout<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-large btn-primary"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-comment"</span><span class="nt">></i></span> Comment<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-small btn-info"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-info-sign"</span><span class="nt">></i></span> Info<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-danger"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-trash icon-large"</span><span class="nt">></i></span> Delete<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-small"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-cog"</span><span class="nt">></i></span> Settings<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-large btn-danger"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-flag icon-2x pull-left"</span><span class="nt">></i></span> Font Awesome<span class="nt"><br></span>Version 3.2.1<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-primary"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-refresh icon-spin"</span><span class="nt">></i></span> Synchronizing Content...<span class="nt"></a></span>
</code></pre></div>
</div>
</div>
</section>
<section id="button-groups">
<h2 class="page-header">Button Groups</h2>
<div class="row">
<div class="span3">
<p>
<div class="btn-group">
<a class="btn" href="#"><i class="icon-align-left"></i></a>
<a class="btn" href="#"><i class="icon-align-center"></i></a>
<a class="btn" href="#"><i class="icon-align-right"></i></a>
<a class="btn" href="#"><i class="icon-align-justify"></i></a>
</div>
</p>
</div>
<div class="span9">
<div class="highlight"><pre><code class="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"btn-group"</span><span class="nt">></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-left"</span><span class="nt">></i></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-center"</span><span class="nt">></i></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-right"</span><span class="nt">></i></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-justify"</span><span class="nt">></i></a></span>
<span class="nt"></div></span>
</code></pre></div>
</div>
</div>
</section>
<section id="button-dropdowns">
<h2 class="page-header">Button Dropdowns</h2>
<div class="row">
<div class="span3">
<div class="btn-group open">
<a class="btn btn-primary" href="#"><i class="icon-user"></i> User</a>
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#">
<span class="icon-caret-down"></span></a>
<ul class="dropdown-menu">
<li><a href="#"><i class="icon-fixed-width icon-pencil"></i> Edit</a></li>
<li><a href="#"><i class="icon-fixed-width icon-trash"></i> Delete</a></li>
<li><a href="#"><i class="icon-fixed-width icon-ban-circle"></i> Ban</a></li>
<li class="divider"></li>
<li><a href="#"><i class="i"></i> Make admin</a></li>
</ul>
</div>
</div>
<div class="span9">
<div class="highlight"><pre><code class="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"btn-group open"</span><span class="nt">></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-primary"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-user"</span><span class="nt">></i></span> User<span class="nt"></a></span>
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-primary dropdown-toggle"</span> <span class="na">data-toggle=</span><span class="s">"dropdown"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span>
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-caret-down"</span><span class="nt">></span></a></span>
<span class="nt"><ul</span> <span class="na">class=</span><span class="s">"dropdown-menu"</span><span class="nt">></span>
<span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-pencil"</span><span class="nt">></i></span> Edit<span class="nt"></a></li></span>
<span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-trash"</span><span class="nt">></i></span> Delete<span class="nt"></a></li></span>
<span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-ban-circle"</span><span class="nt">></i></span> Ban<span class="nt"></a></li></span>
<span class="nt"><li</span> <span class="na">class=</span><span class="s">"divider"</span><span class="nt">></li></span>
<span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"i"</span><span class="nt">></i></span> Make admin<span class="nt"></a></li></span>
<span class="nt"></ul></span>
<span class="nt"></div></span>
</code></pre></div>
<div class="alert alert-info"><i class="icon-info-sign"></i> Don't forget to add the appropriate JavaScript to enable button dropdowns.</div>
</div>
</div>
</section>
<section id="bulleted-lists">
<h2 class="page-header">Bulleted Lists</h2>
<div class="row">
<div class="span12">
</div>
<div class="span3">
<ul class="icons-ul">
<li><i class="icon-li icon-ok"></i>Bulleted lists (like this one)</li>
<li><i class="icon-li icon-ok"></i>Buttons</li>
<li><i class="icon-li icon-ok"></i>Button groups</li>
<li><i class="icon-li icon-ok"></i>Navigation</li>
<li><i class="icon-li icon-ok"></i>Prepended form inputs</li>
<li><i class="icon-li icon-ok"></i>…and many more with custom CSS</li>
</ul>
</div>
<div class="span9">
<p>Easily replace individual bullets.</p>
<div class="highlight"><pre><code class="html"><span class="nt"><ul</span> <span class="na">class=</span><span class="s">"icons-ul"</span><span class="nt">></span>
<span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Bulleted lists (like this one)<span class="nt"></li></span>
<span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Buttons<span class="nt"></li></span>
<span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Button groups<span class="nt"></li></span>
<span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Navigation<span class="nt"></li></span>
<span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Prepended form inputs<span class="nt"></li></span>
<span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span><span class="ni">&hellip;</span>and many more with custom CSS<span class="nt"></li></span>
<span class="nt"></ul></span>
</code></pre></div>
<div class="alert alert-info"><i class="icon-info-sign"></i> Make sure to NOT include any whitespace after the icon declaration.</div>
</div>
</div>
</section>
<section id="navigation">
<h2 class="page-header">Navigation</h2>
<div class="row">
<div class="span3">
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="active"><a href="#"><i class="icon-fixed-width icon-home"></i> Home</a></li>
<li><a href="#"><i class="icon-fixed-width icon-book"></i> Library</a></li>
<li><a href="#"><i class="icon-fixed-width icon-pencil"></i> Applications</a></li>
<li><a href="#"><i class="icon-fixed-width icon-cogs"></i> Settings</a></li>
</ul>
</div>
</div>
<div class="span9">
<p>Use Font Awesome icons in navigation to provide helpful visual cues.</p>
<div class="highlight"><pre><code class="html"><span class="nt"><ul</span> <span class="na">class=</span><span class="s">"nav nav-list"</span><span class="nt">></span>
<span class="nt"><li</span> <span class="na">class=</span><span class="s">"active"</span><span class="nt">><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-home"</span><span class="nt">></i></span> Home<span class="nt"></a></li></span>
<span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-book"</span><span class="nt">></i></span> Library<span class="nt"></a></li></span>
<span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-pencil"</span><span class="nt">></i></span> Applications<span class="nt"></a></li></span>
<span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-cogs"</span><span class="nt">></i></span> Settings<span class="nt"></a></li></span>
<span class="nt"></ul></span>
</code></pre></div>
</div>
</div>
</section>
<section id="form-inputs">
<h2 class="page-header">Prepended & Appended Form Inputs</h2>
<div class="row">
<div class="span3">
<form>
<div class="input-prepend">
<span class="add-on"><i class="icon-envelope"></i></span>
<input class="span2" type="text" placeholder="Email address">
</div>
<div class="input-prepend">
<span class="add-on"><i class="icon-key"></i></span>
<input class="span2" type="password" placeholder="Password">
</div>
</form>
</div>
<div class="span9">
<div class="highlight"><pre><code class="html"><span class="nt"><form></span>
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-prepend"</span><span class="nt">></span>
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"add-on"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-envelope"</span><span class="nt">></i></span></span>
<span class="nt"><input</span> <span class="na">class=</span><span class="s">"span2"</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">placeholder=</span><span class="s">"Email address"</span><span class="nt">></span>
<span class="nt"></div></span>
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-prepend"</span><span class="nt">></span>
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"add-on"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-key"</span><span class="nt">></i></span></span>
<span class="nt"><input</span> <span class="na">class=</span><span class="s">"span2"</span> <span class="na">type=</span><span class="s">"password"</span> <span class="na">placeholder=</span><span class="s">"Password"</span><span class="nt">></span>
<span class="nt"></div></span>
<span class="nt"></form></span>
</code></pre></div>
</div>
</div>
</section>
<section id="animated-spinner">
<h2 class="page-header">Animated Spinner</h2>
<div class="row">
<div class="span3">
Use the <code>icon-spin</code> class to get any icon to rotate. Works well with <code>icon-spinner</code> and
<code>icon-refresh</code>.
</div>
<div class="span9">
<div class="well well-large well-transparent lead">
<i class="icon-spinner icon-spin icon-large"></i> Spinner icon when loading content...
</div>
<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-spinner icon-spin icon-large"</span><span class="nt">></i></span> Spinner icon when loading content...
</code></pre></div>
<p class="alert alert-info">
<i class="icon-info-sign"></i> CSS3 animations aren't supported in IE7 - IE9.
</p>
</div>
</div>
</section>
<section id="rotated-flipped">
<h2 class="page-header">Rotated & Flipped</h2>
<div class="row">
<div class="span3">
A set of classes that can be used to arbitrarily rotate and flip icons.
</div>
<div class="span9">
<div class="well well-large well-transparent lead">
<i class="icon-shield"></i> normal<br>
<i class="icon-shield icon-rotate-90"></i> icon-rotate-90<br>
<i class="icon-shield icon-rotate-180"></i> icon-rotate-180<br>
<i class="icon-shield icon-rotate-270"></i> icon-rotate-270<br>
<i class="icon-shield icon-flip-horizontal"></i> icon-flip-horizontal<br>
<i class="icon-shield icon-flip-vertical"></i> icon-flip-vertical
</div>
<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> normal<span class="nt"><br></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-rotate-90"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-rotate-90<span class="nt"><br></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-rotate-180"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-rotate-180<span class="nt"><br></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-rotate-270"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-rotate-270<span class="nt"><br></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-flip-horizontal"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-flip-horizontal<span class="nt"><br></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-flip-vertical"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-flip-vertical
</code></pre></div>
<p class="alert alert-info">
<i class="icon-info-sign"></i> Rotating and flipping icons aren't yet supported in IE7.
</p>
</div>
</div>
</section>
<section id="stacked">
<h2 class="page-header">Stacked Icons</h2>
<div class="row">
<div class="span3">
A method for easily stacking multiple icons. Use the <code>icon-stack</code> class on the parent and
<code>icon-stack-base</code> for the bottom icon.
</div>
<div class="span9">
<div class="well well-large well-transparent lead">
<span class="icon-stack">
<i class="icon-check-empty icon-stack-base"></i>
<i class="icon-twitter"></i>
</span>
icon-twitter on icon-check-empty<br>
<span class="icon-stack">
<i class="icon-circle icon-stack-base"></i>
<i class="icon-flag icon-light"></i>
</span>
icon-flag on icon-circle<br>
<span class="icon-stack">
<i class="icon-sign-blank icon-stack-base"></i>
<i class="icon-terminal icon-light"></i>
</span>
icon-terminal on icon-sign-blank<br>
<span class="icon-stack">
<i class="icon-camera"></i>
<i class="icon-ban-circle icon-stack-base text-error"></i>
</span>
icon-camera on icon-ban-circle
</div>
<div class="highlight"><pre><code class="html"><span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-check-empty icon-stack-base"</span><span class="nt">></i></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-twitter"</span><span class="nt">></i></span>
<span class="nt"></span></span>
icon-twitter on icon-check-empty<span class="nt"><br></span>
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-circle icon-stack-base"</span><span class="nt">></i></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-flag icon-light"</span><span class="nt">></i></span>
<span class="nt"></span></span>
icon-flag on icon-circle<span class="nt"><br></span>
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-sign-blank icon-stack-base"</span><span class="nt">></i></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-terminal icon-light"</span><span class="nt">></i></span>
<span class="nt"></span></span>
icon-terminal on icon-sign-blank<span class="nt"><br></span>
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-camera"</span><span class="nt">></i></span>
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-ban-circle icon-stack-base text-error"</span><span class="nt">></i></span>
<span class="nt"></span></span>
icon-camera on icon-ban-circle
</code></pre></div>
</div>
</div>
</section>
<section id="custom">
<h2 class="page-header">Custom CSS</h2>
<div class="row">
<div class="span3">
<p>Anything you can do with CSS font styles, you can do with Font Awesome.</p>
</div>
<div class="span9">
<p>Star Ratings (inspired by <a href="http://css-tricks.com/star-ratings/" target="_blank">CSS Tricks</a>)</p>
<div class="well">
<span class="rating">
<span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span>
</span>
</div>
</div>
</div>
</section>
</div>
<div class="push"><!-- necessary for sticky footer --></div>
</div>
<footer class="footer hidden-print">
<div class="container text-center">
<div>
<i class="icon-flag"></i> Font Awesome 3.2.1
<span class="hidden-phone">·</span><br class="visible-phone">
Created and Maintained by <a href="http://twitter.com/davegandy">Dave Gandy</a>
</div>
<div>
Font Awesome licensed under <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a>
<span class="hidden-phone">·</span><br class="visible-phone">
Code licensed under <a href="http://opensource.org/licenses/mit-license.html">MIT License</a>
<span class="hidden-phone hidden-tablet">·</span><br class="visible-phone visible-tablet">
Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>
</div>
<div>
Thanks to <a href="http://maxcdn.com"><i class="icon-maxcdn"></i> MaxCDN</a> for providing the excellent <a href="http://www.bootstrapcdn.com/#tab_fontawesome">BootstrapCDN for Font Awesome</a>
</div>
<div class="project">
<a href="https://github.com/FortAwesome/Font-Awesome">GitHub Project</a> ·
<a href="https://github.com/FortAwesome/Font-Awesome/issues">Issues</a>
</div>
</div>
</footer>
<script src="http://platform.twitter.com/widgets.js"></script>
<script src="../assets/js/jquery-1.7.1.min.js"></script>
<script src="../assets/js/ZeroClipboard-1.1.7.min.js"></script>
<script src="../assets/js/bootstrap-2.3.1.min.js"></script>
<script src="../assets/js/site.js"></script>
</body>
</html>
|