2013-05-11 00:00:01 +08:00
<!DOCTYPE html>
2013-10-23 23:12:39 +08:00
< html lang = "en" >
2013-05-11 00:00:01 +08:00
< head >
<!-- Basic Page Needs
================================================== -->
< meta charset = "utf-8" / >
2013-10-23 23:12:39 +08:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2013-06-13 02:43:02 +08:00
< meta name = "description" content = "Font Awesome, the iconic font designed for Bootstrap" >
2013-05-11 00:00:01 +08:00
< meta name = "author" content = "Dave Gandy" >
2013-10-23 23:12:39 +08:00
< link rel = "shortcut icon" href = "../assets/ico/favicon.ico" >
2013-05-11 00:00:01 +08:00
2013-10-23 23:12:39 +08:00
< title > Font Awesome Examples< / title >
2013-05-11 00:00:01 +08:00
<!-- CSS
2013-10-23 23:12:39 +08:00
================================================== -->
2013-05-11 00:00:01 +08:00
< link rel = "stylesheet" href = "../assets/css/site.css" >
< link rel = "stylesheet" href = "../assets/css/pygments.css" >
2013-06-13 02:43:02 +08:00
< link rel = "stylesheet" href = "../assets/font-awesome/css/font-awesome.css" >
2013-10-23 23:12:39 +08:00
<!-- [if lt IE 9]>
< script src = "../assets/js/html5shiv.js" > < / script >
< script src = "../assets/js/respond.min.js" > < / script >
2013-05-11 00:00:01 +08:00
<![endif]-->
< 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 >
2013-10-23 23:12:39 +08:00
< body >
< div id = "wrap" > <!-- necessary for sticky footer. wrap all content except footer -->
2013-05-11 00:00:01 +08:00
< div class = "navbar navbar-inverse navbar-static-top hidden-print" >
2013-10-23 23:12:39 +08:00
< div class = "container" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = ".navbar-collapse" >
< span class = "sr-only" > Toggle navigation< / span >
2013-11-05 01:53:03 +08:00
< i class = "fa fa-bars fa-lg" > < / i >
2013-10-23 23:12:39 +08:00
< / button >
< a class = "navbar-brand" href = "../" > < i class = "fa fa-flag" > < / i > Font Awesome< / a >
< / div >
< div class = "navbar-collapse collapse" >
< ul class = "nav navbar-nav" >
< li class = "hidden-sm " > < a href = "../" > Home< / a > < / li >
< li class = "hidden-sm" >
< a href = "../whats-new/" > What's New< / a >
< / li >
< li class = "hidden-xs hidden-md hidden-lg" >
< a href = "../whats-new/" > New< / 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-xs" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" >
< i class = "fa fa-caret-down" > < / i >
< / a >
< ul class = "dropdown-menu pull-right" >
< li > < a href = "../icons/" > < i class = "fa fa-flag fa-fw" > < / i > Icons< / a > < / li >
< li class = "divider" > < / li >
< li > < a href = "../icons/#new" > < i class = "fa fa-rub fa-fw" > < / i > New Icons in 4.0< / a > < / li >
< li > < a href = "../icons/#web-application" > < i class = "fa fa-camera-retro fa-fw" > < / i > Web Application Icons< / a > < / li >
< li > < a href = "../icons/#form-control" > < i class = "fa fa-check-square fa-fw" > < / i > Form Control Icons< / a > < / li >
< li > < a href = "../icons/#currency" > < i class = "fa fa-won fa-fw" > < / i > Currency Icons< / a > < / li >
< li > < a href = "../icons/#text-editor" > < i class = "fa fa-file-text-o fa-fw" > < / i > Text Editor Icons< / a > < / li >
< li > < a href = "../icons/#directional" > < i class = "fa fa-hand-o-right fa-fw" > < / i > Directional Icons< / a > < / li >
< li > < a href = "../icons/#video-player" > < i class = "fa fa-play-circle fa-fw" > < / i > Video Player Icons< / a > < / li >
< li > < a href = "../icons/#brand" > < i class = "fa fa-github fa-fw" > < / i > Brand Icons< / a > < / li >
< li > < a href = "../icons/#medical" > < i class = "fa fa-medkit fa-fw" > < / 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-xs active" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" >
< i class = "fa fa-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/#inline" > Inline Icons< / a > < / li >
< li > < a href = "../examples/#larger" > Larger Icons< / a > < / li >
< li > < a href = "../examples/#fixed-width" > Fixed Width Icons< / a > < / li >
< li > < a href = "../examples/#list" > List Icons< / a > < / li >
< li > < a href = "../examples/#bordered-pulled" > Bordered & Pulled Icons< / a > < / li >
< li > < a href = "../examples/#spinning" > Spinning Icons< / a > < / li >
< li > < a href = "../examples/#rotated-flipped" > Rotated & Flipped Icons< / a > < / li >
< li > < a href = "../examples/#stacked" > Stacked Icons< / a > < / li >
< li > < a href = "../examples/#bootstrap" > Bootstrap 3 Examples< / a > < / li >
< li > < a href = "../examples/#custom" > Custom CSS< / a > < / li >
< / ul >
< / li >
< li > < a href = "../community/" > Community< / a > < / li >
< li > < a href = "../license/" > License< / a > < / li >
< / ul >
< ul class = "nav navbar-nav navbar-right" >
< li > < a href = "http://blog.fontawesome.io" > Blog< / a > < / li >
< / ul >
2013-05-11 00:00:01 +08:00
< / div >
2013-10-23 23:12:39 +08:00
2013-05-11 00:00:01 +08:00
< / div >
< / div >
< div class = "jumbotron jumbotron-ad hidden-print" >
< div class = "container" >
2013-10-23 23:12:39 +08:00
< h1 > < i class = "fa fa-magic" > < / i > Examples< / h1 >
2013-05-11 00:00:01 +08:00
< p > Lots of easy ways to use Font Awesome< / p >
< / div >
< / div >
< div id = "social-buttons" class = "hidden-print" >
< div class = "container" >
2013-10-23 23:12:39 +08:00
< ul class = "list-inline" >
2013-05-11 00:00:01 +08:00
< 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" >
2013-05-11 08:23:47 +08:00
< a href = "https://twitter.com/fontawesome" class = "twitter-follow-button" data-link-color = "#0069D6" data-show-count = "true" > Follow @fontawesome< / a >
2013-05-11 00:00:01 +08:00
< / li >
2013-06-13 02:43:02 +08:00
< li class = "tweet-btn hidden-phone" >
2013-06-26 23:44:06 +08:00
< 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 >
2013-05-11 00:00:01 +08:00
< / li >
< / ul >
< / div >
< / div >
< div class = "container" >
2013-10-23 23:12:39 +08:00
< section class = "hidden-print" >
< div class = "stripe-ad" >
< 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 >
< 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.
Some examples appreciatively re-used from the < a href = "http://getbootstrap.com" > Bootstrap documentation< / a > .
< / p >
2013-05-11 00:00:01 +08:00
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "inline" >
2013-05-11 00:00:01 +08:00
< h2 class = "page-header" > Inline Icons< / h2 >
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< p >
< i class = "fa fa-camera-retro" > < / i > fa-camera-retro
< / p >
2013-05-11 00:00:01 +08:00
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
< p > Place Font Awesome icons just about anywhere with the < code > < i> < / code > tag.< / p >
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-camera-retro" < / span > < span class = "nt" > > < /i> < / span > fa-camera-retro
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
2013-10-23 23:12:39 +08:00
< div class = "alert alert-success" > < i class = "fa fa-info-circle" > < / i > Icon classes are echoed via CSS :before.< / div >
2013-05-11 00:00:01 +08:00
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "larger" >
2013-05-11 00:00:01 +08:00
< h2 class = "page-header" > Larger Icons< / h2 >
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< p > < i class = "fa fa-camera-retro fa-lg" > < / i > fa-camera-retro< / p >
< p > < i class = "fa fa-camera-retro fa-2x" > < / i > fa-camera-retro< / p >
< p > < i class = "fa fa-camera-retro fa-3x" > < / i > fa-camera-retro< / p >
< p > < i class = "fa fa-camera-retro fa-4x" > < / i > fa-camera-retro< / p >
< p > < i class = "fa fa-camera-retro fa-5x" > < / i > fa-camera-retro< / p >
< / div >
< div class = "col-md-9 col-sm-8" >
2013-05-11 00:00:01 +08:00
< p >
2013-10-23 23:12:39 +08:00
To increase icon sizes relative to their container, use the < code > fa-lg< / code > (33% increase), < code > fa-2x< / code > ,
< code > fa-3x< / code > , < code > fa-4x< / code > , or < code > fa-5x< / code > classes.
2013-05-11 00:00:01 +08:00
< / p >
2013-10-23 23:12:39 +08:00
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < p> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-camera-retro fa-lg" < / span > < span class = "nt" > > < /i> < / span > fa-camera-retro< span class = "nt" > < /p> < / span >
< span class = "nt" > < p> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-camera-retro fa-2x" < / span > < span class = "nt" > > < /i> < / span > fa-camera-retro< span class = "nt" > < /p> < / span >
< span class = "nt" > < p> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-camera-retro fa-3x" < / span > < span class = "nt" > > < /i> < / span > fa-camera-retro< span class = "nt" > < /p> < / span >
< span class = "nt" > < p> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-camera-retro fa-4x" < / span > < span class = "nt" > > < /i> < / span > fa-camera-retro< span class = "nt" > < /p> < / span >
< span class = "nt" > < p> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-camera-retro fa-5x" < / span > < span class = "nt" > > < /i> < / span > fa-camera-retro< span class = "nt" > < /p> < / span >
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
2013-10-23 23:12:39 +08:00
< div class = "alert alert-success" >
< i class = "fa fa-info-circle" > < / i > If your icons are getting chopped off on top and bottom, make sure you have
2013-05-11 00:00:01 +08:00
sufficient line-height.
< / div >
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "fixed-width" >
< h2 class = "page-header" > Fixed Width Icons< / h2 >
2013-05-11 00:00:01 +08:00
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< ul class = "nav nav-pills nav-stacked margin-bottom" >
< li class = "active" > < a href = "#" > < i class = "fa fa-home fa-fw" > < / i > Home< / a > < / li >
< li > < a href = "#" > < i class = "fa fa-book fa-fw" > < / i > Library< / a > < / li >
< li > < a href = "#" > < i class = "fa fa-pencil fa-fw" > < / i > Applications< / a > < / li >
< li > < a href = "#" > < i class = "fa fa-cogs fa-fw" > < / i > Settings< / a > < / li >
< / ul >
< / div >
< div class = "col-md-9 col-sm-8" >
2013-05-11 00:00:01 +08:00
< p >
2013-10-23 23:12:39 +08:00
Use < code > fa-fw< / code > to set icons at a fixed width. Great to use when variable icon widths throw off alignment.
Especially useful in things like nav lists.
2013-05-11 00:00:01 +08:00
< / p >
2013-10-23 23:12:39 +08:00
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > " nav nav-pills nav-stacked" < / 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" > " fa fa-home fa-fw" < / 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" > " fa fa-book fa-fw" < / 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" > " fa fa-pencil fa-fw" < / 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" > " fa fa-cogs fa-fw" < / span > < span class = "nt" > > < /i> < / span > Settings< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < /ul> < / span >
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "list" >
< h2 class = "page-header" > List Icons< / h2 >
2013-05-11 00:00:01 +08:00
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< ul class = "fa-ul" >
< li > < i class = "fa-li fa fa-check-square" > < / i > List icons (like these)< / li >
< li > < i class = "fa-li fa fa-check-square" > < / i > can be used< / li >
< li > < i class = "fa-li fa fa-spinner fa-spin" > < / i > to easily replace< / li >
< li > < i class = "fa-li fa fa-square" > < / i > default bullets in lists< / li >
< / ul >
2013-05-11 00:00:01 +08:00
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
< p > Use < code > fa-ul< / code > and < code > fa-li< / code > to easily replace default bullets in unordered lists.< / p >
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-ul" < / span > < span class = "nt" > > < / span >
< span class = "nt" > < li> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-li fa fa-check-square" < / span > < span class = "nt" > > < /i> < / span > List icons (like these)< span class = "nt" > < /li> < / span >
< span class = "nt" > < li> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-li fa fa-check-square" < / span > < span class = "nt" > > < /i> < / span > can be used< span class = "nt" > < /li> < / span >
< span class = "nt" > < li> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-li fa fa-spinner fa-spin" < / span > < span class = "nt" > > < /i> < / span > to replace< span class = "nt" > < /li> < / span >
< span class = "nt" > < li> < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-li fa fa-square" < / span > < span class = "nt" > > < /i> < / span > default bullets in lists< span class = "nt" > < /li> < / span >
< span class = "nt" > < /ul> < / span >
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "bordered-pulled" >
< h2 class = "page-header" > Bordered & Pulled Icons< / h2 >
2013-05-11 00:00:01 +08:00
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
2013-05-11 00:00:01 +08:00
< p >
2013-10-23 23:12:39 +08:00
< i class = "fa fa-quote-left fa-2x pull-left fa-border" > < / i >
Use a few styles together and you'll have easy pull quotes or a great introductory article icon.
2013-05-11 00:00:01 +08:00
< / p >
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
< p >
Use < code > fa-border< / code > and < code > pull-right< / code > or < code > pull-left< / code > for easy pull quotes or
article graphics.
< / p >
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-quote-left fa-2x pull-left fa-border" < / span > < span class = "nt" > > < /i> < / span >
Use a few styles together and you' ll have easy pull quotes or a great introductory article icon.
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "spinning" >
< h2 class = "page-header" > Spinning Icons< / h2 >
2013-05-11 00:00:01 +08:00
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< p >
< button class = "btn btn-default btn-lg" > < i class = "fa fa-spinner fa-spin" > < / i > < / button >
< button class = "btn btn-default btn-lg" > < i class = "fa fa-refresh fa-spin" > < / i > < / button >
< button class = "btn btn-default btn-lg" > < i class = "fa fa-cog fa-spin" > < / i > < / button >
< / p >
2013-05-11 00:00:01 +08:00
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
< p >
Use the < code > fa-spin< / code > class to get any icon to rotate. Works well with < code > fa-spinner< / code > ,
< code > fa-refresh< / code > , and < code > fa-cog< / code > .
< / p >
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-spinner fa-spin" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-refresh fa-spin" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-cog fa-spin" < / span > < span class = "nt" > > < /i> < / span >
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
2013-10-23 23:12:39 +08:00
< p class = "alert alert-success" >
< i class = "fa fa-info-circle" > < / i > CSS3 animations aren't supported in IE8 - IE9.
< / p >
2013-05-11 00:00:01 +08:00
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "rotated-flipped" >
< h2 class = "page-header" > Rotated & Flipped< / h2 >
2013-05-11 00:00:01 +08:00
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< p style = "font-size: 18px;" >
< i class = "fa fa-shield" > < / i > normal< br >
< i class = "fa fa-shield fa-rotate-90" > < / i > fa-rotate-90< br >
< i class = "fa fa-shield fa-rotate-180" > < / i > fa-rotate-180< br >
< i class = "fa fa-shield fa-rotate-270" > < / i > fa-rotate-270< br >
< i class = "fa fa-shield fa-flip-horizontal" > < / i > fa-flip-horizontal< br >
< i class = "fa fa-shield fa-flip-vertical" > < / i > fa-flip-vertical
< / p >
2013-05-11 00:00:01 +08:00
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
< p >
To arbitrarily rotate and flip icons, use the < code > fa-rotate-*< / code > and < code > fa-flip-*< / code > classes.
< / p >
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-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" > " fa fa-shield fa-rotate-90" < / span > < span class = "nt" > > < /i> < / span > < span class = "ni" > & nbsp;< / span > fa-rotate-90< span class = "nt" > < br> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-shield fa-rotate-180" < / span > < span class = "nt" > > < /i> < / span > < span class = "ni" > & nbsp;< / span > fa-rotate-180< span class = "nt" > < br> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-shield fa-rotate-270" < / span > < span class = "nt" > > < /i> < / span > < span class = "ni" > & nbsp;< / span > fa-rotate-270< span class = "nt" > < br> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-shield fa-flip-horizontal" < / span > < span class = "nt" > > < /i> < / span > < span class = "ni" > & nbsp;< / span > fa-flip-horizontal< span class = "nt" > < br> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-shield fa-flip-vertical" < / span > < span class = "nt" > > < /i> < / span > < span class = "ni" > & nbsp;< / span > icon-flip-vertical
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "stacked" >
< h2 class = "page-header" > Stacked Icons< / h2 >
2013-05-11 00:00:01 +08:00
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< div class = "margin-bottom" >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-square-o fa-stack-2x" > < / i >
< i class = "fa fa-twitter fa-stack-1x" > < / i >
< / span >
fa-twitter on fa-square-o< br >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-circle fa-stack-2x" > < / i >
< i class = "fa fa-flag fa-stack-1x fa-inverse" > < / i >
< / span >
fa-flag on fa-circle< br >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-square fa-stack-2x" > < / i >
< i class = "fa fa-terminal fa-stack-1x fa-inverse" > < / i >
< / span >
fa-terminal on fa-square< br >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-camera fa-stack-1x" > < / i >
< i class = "fa fa-ban fa-stack-2x text-danger" > < / i >
< / span >
fa-ban on fa-camera
2013-05-11 00:00:01 +08:00
< / div >
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
< p >
To stack multiple icons, use the < code > fa-stack< / code > class on the parent, the < code > fa-stack-1x< / code >
for the regularly sized icon, and < code > fa-stack-2x< / code > for the larger icon. < code > fa-inverse< / code >
can be used as an alternative icon color. You can even throw < a href = "#larger" > larger icon< / a > classes on the parent
to get further control of sizing.
< / p >
< div class = "highlight" > < pre > < code class = "html" > < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-stack fa-lg" < / span > < span class = "nt" > > < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-square-o fa-stack-2x" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-twitter fa-stack-1x" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < /span> < / span >
fa-twitter on fa-square-o< span class = "nt" > < br> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-stack fa-lg" < / span > < span class = "nt" > > < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-circle fa-stack-2x" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-flag fa-stack-1x fa-inverse" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < /span> < / span >
fa-flag on fa-circle< span class = "nt" > < br> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-stack fa-lg" < / span > < span class = "nt" > > < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-square fa-stack-2x" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-terminal fa-stack-1x fa-inverse" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < /span> < / span >
fa-terminal on fa-square< span class = "nt" > < br> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > " fa-stack fa-lg" < / span > < span class = "nt" > > < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-camera fa-stack-1x" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-ban fa-stack-2x text-danger" < / span > < span class = "nt" > > < /i> < / span >
< span class = "nt" > < /span> < / span >
fa-ban on fa-camera
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "bootstrap" >
< h2 class = "page-header" > Bootstrap 3 Examples< / h2 >
2013-05-11 00:00:01 +08:00
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
< p >
< a class = "btn btn-danger" href = "#" >
< i class = "fa fa-trash-o fa-lg" > < / i > Delete< / a >
< a class = "btn btn-default btn-sm" href = "#" >
< i class = "fa fa-cog" > < / i > Settings< / a >
< / p >
< p >
< a class = "btn btn-lg btn-success" href = "#" >
2013-11-05 01:53:03 +08:00
< i class = "fa fa-flag fa-2x pull-left" > < / i > Font Awesome< br > Version 4.0.2< / a >
2013-10-23 23:12:39 +08:00
< / p >
< div class = "margin-bottom" >
< div class = "btn-group" >
< a class = "btn btn-default" href = "#" > < i class = "fa fa-align-left" > < / i > < / a >
< a class = "btn btn-default" href = "#" > < i class = "fa fa-align-center" > < / i > < / a >
< a class = "btn btn-default" href = "#" > < i class = "fa fa-align-right" > < / i > < / a >
< a class = "btn btn-default" href = "#" > < i class = "fa fa-align-justify" > < / i > < / a >
2013-05-11 00:00:01 +08:00
< / div >
2013-10-23 23:12:39 +08:00
< / div >
< div class = "margin-bottom" >
< div class = "input-group margin-bottom-sm" >
2013-10-28 04:38:45 +08:00
< span class = "input-group-addon" > < i class = "fa fa-envelope-o fa-fw" > < / i > < / span >
2013-10-23 23:12:39 +08:00
< input class = "form-control" type = "text" placeholder = "Email address" >
< / div >
< div class = "input-group" >
2013-10-28 04:38:45 +08:00
< span class = "input-group-addon" > < i class = "fa fa-key fa-fw" > < / i > < / span >
2013-10-23 23:12:39 +08:00
< input class = "form-control" type = "password" placeholder = "Password" >
< / div >
< / div >
< div class = "margin-bottom" >
< div class = "btn-group open" >
< a class = "btn btn-primary" href = "#" > < i class = "fa fa-user fa-fw" > < / i > User< / a >
< a class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" href = "#" >
< span class = "fa fa-caret-down" > < / span > < / a >
< ul class = "dropdown-menu" >
< li > < a href = "#" > < i class = "fa fa-pencil fa-fw" > < / i > Edit< / a > < / li >
< li > < a href = "#" > < i class = "fa fa-trash-o fa-fw" > < / i > Delete< / a > < / li >
< li > < a href = "#" > < i class = "fa fa-ban fa-fw" > < / i > Ban< / a > < / li >
< li class = "divider" > < / li >
< li > < a href = "#" > < i class = "i" > < / i > Make admin< / a > < / li >
< / ul >
2013-05-11 00:00:01 +08:00
< / div >
< / div >
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
< p >
Font Awesome works great with the full range of Bootstrap components.
2013-05-11 00:00:01 +08:00
< / p >
2013-10-23 23:12:39 +08:00
< div class = "highlight" > < pre > < code class = "html" > < 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" > " fa fa-trash-o fa-lg" < / 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-default btn-sm" < / 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" > " fa fa-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-lg btn-success" < / span > < span class = "na" > href=< / span > < span class = "s" > " #" < / span > < span class = "nt" > > < / span >
2013-11-05 01:53:03 +08:00
< span class = "nt" > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-flag fa-2x pull-left" < / span > < span class = "nt" > > < /i> < / span > Font Awesome< span class = "nt" > < br> < / span > Version 4.0.2< span class = "nt" > < /a> < / span >
2013-10-23 23:12:39 +08:00
< 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 btn-default" < / span > < span class = "na" > href=< / span > < span class = "s" > " #" < / span > < span class = "nt" > > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-align-left" < / span > < span class = "nt" > > < /i> < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > class=< / span > < span class = "s" > " btn btn-default" < / span > < span class = "na" > href=< / span > < span class = "s" > " #" < / span > < span class = "nt" > > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-align-center" < / span > < span class = "nt" > > < /i> < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > class=< / span > < span class = "s" > " btn btn-default" < / span > < span class = "na" > href=< / span > < span class = "s" > " #" < / span > < span class = "nt" > > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-align-right" < / span > < span class = "nt" > > < /i> < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > class=< / span > < span class = "s" > " btn btn-default" < / span > < span class = "na" > href=< / span > < span class = "s" > " #" < / span > < span class = "nt" > > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-align-justify" < / span > < span class = "nt" > > < /i> < /a> < / span >
< span class = "nt" > < /div> < / span >
2013-05-11 00:00:01 +08:00
2013-10-23 23:12:39 +08:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > " input-group margin-bottom-sm" < / span > < span class = "nt" > > < / span >
2013-10-28 04:38:45 +08:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > " input-group-addon" < / span > < span class = "nt" > > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-envelope-o fa-fw" < / span > < span class = "nt" > > < /i> < /span> < / span >
2013-10-23 23:12:39 +08:00
< span class = "nt" > < input< / span > < span class = "na" > class=< / span > < span class = "s" > " form-control" < / 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-group" < / span > < span class = "nt" > > < / span >
2013-10-28 04:38:45 +08:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > " input-group-addon" < / span > < span class = "nt" > > < i< / span > < span class = "na" > class=< / span > < span class = "s" > " fa fa-key fa-fw" < / span > < span class = "nt" > > < /i> < /span> < / span >
2013-10-23 23:12:39 +08:00
< span class = "nt" > < input< / span > < span class = "na" > class=< / span > < span class = "s" > " form-control" < / 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" > < 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" > " fa fa-user fa-fw" < / 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" > " fa fa-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" > " fa fa-pencil fa-fw" < / 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" > " fa fa-trash-o fa-fw" < / 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" > " fa fa-ban fa-fw" < / 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 >
2013-05-11 00:00:01 +08:00
< / code > < / pre > < / div >
< / div >
< / div >
< / section >
2013-10-23 23:12:39 +08:00
< section id = "custom" >
2013-05-11 00:00:01 +08:00
< h2 class = "page-header" > Custom CSS< / h2 >
< div class = "row" >
2013-10-23 23:12:39 +08:00
< div class = "col-md-3 col-sm-4" >
2013-05-11 00:00:01 +08:00
< p > Anything you can do with CSS font styles, you can do with Font Awesome.< / p >
< / div >
2013-10-23 23:12:39 +08:00
< div class = "col-md-9 col-sm-8" >
2013-05-11 00:00:01 +08:00
< 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 >
2013-10-23 23:12:39 +08:00
< footer id = "footer" class = "footer hidden-print" >
2013-05-11 00:00:01 +08:00
< div class = "container text-center" >
< div >
2013-11-05 01:53:03 +08:00
< i class = "fa fa-flag" > < / i > Font Awesome 4.0.2
2013-10-23 23:12:39 +08:00
< span class = "hide-xs" > · < / span > < br class = "hide-sm hide-md hide-lg" >
2013-10-28 04:38:45 +08:00
Created by < a href = "http://twitter.com/davegandy" > Dave Gandy< / a >
2013-05-11 00:00:01 +08:00
< / div >
< div >
2013-06-13 02:43:02 +08:00
Font Awesome licensed under < a href = "http://scripts.sil.org/OFL" > SIL OFL 1.1< / a >
2013-10-23 23:12:39 +08:00
< span class = "hide-xs" > · < / span > < br class = "hide-sm hide-md hide-lg" >
2013-06-13 02:43:02 +08:00
Code licensed under < a href = "http://opensource.org/licenses/mit-license.html" > MIT License< / a >
2013-10-23 23:12:39 +08:00
< span class = "hide-xs hide-sm" > · < / span > < br class = "hide-md hide-lg" >
2013-05-11 00:00:01 +08:00
Documentation licensed under < a href = "http://creativecommons.org/licenses/by/3.0/" > CC BY 3.0< / a >
< / div >
< div >
2013-10-23 23:12:39 +08:00
Thanks to < a href = "http://maxcdn.com" > < i class = "fa fa-maxcdn" > < / i > MaxCDN< / a > for providing the excellent < a href = "http://www.bootstrapcdn.com/#fontawesome_tab" > BootstrapCDN for Font Awesome< / a >
2013-05-11 00:00:01 +08:00
< / div >
< div class = "project" >
< a href = "https://github.com/FortAwesome/Font-Awesome" > GitHub Project< / a > ·
2013-10-28 04:38:45 +08:00
< a href = "https://github.com/FortAwesome/Font-Awesome/issues" > Issues< / a > ·
< a href = "../3.2.1" > Old 3.2.1 Docs< / a >
2013-05-11 00:00:01 +08:00
< / div >
< / div >
< / footer >
< script src = "http://platform.twitter.com/widgets.js" > < / script >
2013-10-23 23:12:39 +08:00
< script src = "../assets/js/jquery-1.10.2.min.js" > < / script >
2013-06-13 02:43:02 +08:00
< script src = "../assets/js/ZeroClipboard-1.1.7.min.js" > < / script >
2013-10-23 23:12:39 +08:00
< script src = "../assets/js/bootstrap-3.0.0.min.js" > < / script >
2013-05-11 00:00:01 +08:00
< script src = "../assets/js/site.js" > < / script >
< / body >
< / html >