mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-27 14:01:32 +08:00
747 lines
50 KiB
HTML
747 lines
50 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Basic Page Needs
|
|
================================================== -->
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<meta name="description" content="Fork Awesome, a fork of the iconic font and CSS framework">
|
|
<meta name="author" content="Dave Gandy">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
|
|
<title>Fork Awesome Examples</title>
|
|
|
|
<!-- CSS
|
|
================================================== -->
|
|
<link rel="stylesheet" href="../assets/css/site.css">
|
|
<link rel="stylesheet" href="../assets/css/pygments.css">
|
|
<link rel="stylesheet" href="../assets/fork-awesome/css/fork-awesome.css">
|
|
|
|
<!--[if lt IE 9]>
|
|
<script src="../assets/js/html5shiv.js"></script>
|
|
<script src="../assets/js/respond.min.js"></script>
|
|
<![endif]-->
|
|
|
|
</head>
|
|
<body class="font-awesome ">
|
|
<div id="wrap"> <!-- necessary for sticky footer. wrap all content except footer -->
|
|
<div class="navbar navbar-inverse navbar-static-top hidden-print">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<i class="fa fa-bars fa-lg" aria-hidden="true" title="Toggle navigation"></i>
|
|
<span class="sr-only">Toggle navigation</span>
|
|
</button>
|
|
<a class="navbar-brand" href="../"><i class="fa fa-fork-awesome" aria-hidden="true"></i> Fork 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 class="hidden-sm"><a href="../get-started/">Get Started</a></li>
|
|
<li class="hidden-xs hidden-md hidden-lg">
|
|
<a href="../get-started/">Start</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" aria-hidden="true" title="Toggle dropdown menu"></i>
|
|
<span class="sr-only">Toggle dropdown menu</span>
|
|
<span class="toggle drop down"></span>
|
|
</a>
|
|
<ul class="dropdown-menu pull-right">
|
|
<li><a href="../icons/"><i class="fa fa-flag fa-fw" aria-hidden="true"></i> All Icons</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="../icons/#new"><i class="fa fa-handshake-o fa-fw" aria-hidden="true"></i> New Icons in 4.7</a></li>
|
|
<li><a href="../icons/#web-application"><i class="fa fa-camera-retro fa-fw" aria-hidden="true"></i> Web Application Icons</a></li>
|
|
<li><a href="../icons/#accessibility"><i class="fa fa-universal-access fa-fw" aria-hidden="true"></i> Accessibility Icons</a></li>
|
|
<li><a href="../icons/#hand"><i class="fa fa-hand-spock-o fa-fw" aria-hidden="true"></i> Hand Icons</a></li>
|
|
<li><a href="../icons/#transportation"><i class="fa fa-ship fa-fw" aria-hidden="true"></i> Transportation Icons</a></li>
|
|
<li><a href="../icons/#gender"><i class="fa fa-venus fa-fw" aria-hidden="true"></i> Gender Icons</a></li>
|
|
<li><a href="../icons/#file-type"><i class="fa fa-file-image-o fa-fw" aria-hidden="true"></i> File Type Icons</a></li>
|
|
<li><a href="../icons/#spinner"><i class="fa fa-spinner fa-fw" aria-hidden="true"></i> Spinner Icons</a></li>
|
|
<li><a href="../icons/#form-control"><i class="fa fa-check-square fa-fw" aria-hidden="true"></i> Form Control Icons</a></li>
|
|
<li><a href="../icons/#payment"><i class="fa fa-credit-card fa-fw" aria-hidden="true"></i> Payment Icons</a></li>
|
|
<li><a href="../icons/#chart"><i class="fa fa-pie-chart fa-fw" aria-hidden="true"></i> Chart Icons</a></li>
|
|
<li><a href="../icons/#currency"><i class="fa fa-won fa-fw" aria-hidden="true"></i> Currency Icons</a></li>
|
|
<li><a href="../icons/#text-editor"><i class="fa fa-file-text-o fa-fw" aria-hidden="true"></i> Text Editor Icons</a></li>
|
|
<li><a href="../icons/#directional"><i class="fa fa-arrow-right fa-fw" aria-hidden="true"></i> Directional Icons</a></li>
|
|
<li><a href="../icons/#video-player"><i class="fa fa-play-circle fa-fw" aria-hidden="true"></i> Video Player Icons</a></li>
|
|
<li><a href="../icons/#brand"><i class="fa fa-facebook-official fa-fw" aria-hidden="true"></i> Brand Icons</a></li>
|
|
<li><a href="../icons/#medical"><i class="fa fa-medkit fa-fw" aria-hidden="true"></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" aria-hidden="true" title="Toggle dropdown menu"></i>
|
|
<span class="sr-only">Toggle dropdown menu</span>
|
|
<span class="toggle drop down"></span>
|
|
</a>
|
|
<ul class="dropdown-menu pull-right">
|
|
<li><a href="../examples/">Examples</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="../examples/#basic">Basic 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/#animated">Animated Icons</a></li>
|
|
<li><a href="../examples/#accessible">Accessibility-Minded</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 class="hidden-sm"><a href="../accessibility/">Accessibility</a></li>
|
|
<li class="hidden-xs hidden-md hidden-lg"><a href="../accessibility/"><i class="fa fa-universal-access"></i></a></li>
|
|
<li><a href="../community/">Community</a></li>
|
|
<li><a href="../license/">License</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="jumbotron jumbotron-ad hidden-print">
|
|
<div class="container">
|
|
|
|
<h1><i class="fa fa-magic" aria-hidden="true"></i> Examples</h1>
|
|
<p>Lots of easy ways to use Fork Awesome</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="social-buttons" class="hidden-print">
|
|
<div class="container">
|
|
<ul class="list-inline">
|
|
<li>
|
|
<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=ForkAwesome&repo=Fork-Awesome&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
|
|
</li>
|
|
<li class="tweet-btn hidden-phone">
|
|
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://forkawesome.github.com/Fork-Awesome/" data-text="Fork Awesome, a fork of the iconic font and CSS framework" data-counturl="http://forkawesome.github.com/Fork-Awesome/" data-count="horizontal">Tweet</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="container">
|
|
<p class="lead">
|
|
After you <a href="../get-started/">get up and running</a>, you can place Fork 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>
|
|
|
|
<div class="alert alert-success gg">
|
|
<div class="gg-col min-width">
|
|
<i class="fa fa-universal-access fa-2x" aria-hidden"true"></i>
|
|
</div>
|
|
<div class="gg-col padding-left">
|
|
<p class="margin-bottom-none">The following examples are kept simple. So please be sure to visit the <a href="../examples/#accessible">manual accessibility examples</a> and read more about <a href="../accessibility">making your icons accessible for all users</a>.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<section id="basic">
|
|
<h2 class="page-header">
|
|
Basic Icons
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/core.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_core.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<p>
|
|
<i class="fa fa-camera-retro"></i>
|
|
<span class="sr-only">Example: basic icon</span>
|
|
fa-camera-retro
|
|
</p>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
You can place Fork Awesome icons just about anywhere using the CSS Prefix <code>fa</code> and the icon's
|
|
name. Font Awesome is designed to be used with inline elements (we like the <code><i></code> tag for
|
|
brevity, but using a <code><span></code> is more semantically correct).
|
|
</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
|
|
</code></pre></div>
|
|
<div class="alert alert-success">
|
|
<ul class="fa-ul">
|
|
<li>
|
|
<i class="fa fa-info-circle fa-lg fa-li" aria-hidden="true"></i>
|
|
<strong class="sr-only">Example: basic icon</strong>
|
|
If you change the font-size of the icon's container, the icon gets bigger. Same things goes for color,
|
|
drop shadow, and anything else that gets inherited using CSS.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="larger">
|
|
<h2 class="page-header">
|
|
Larger Icons
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/larger.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_larger.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<p><i class="fa fa-camera-retro fa-lg" aria-hidden="true"></i> fa-lg</p>
|
|
<p><i class="fa fa-camera-retro fa-2x" aria-hidden="true"></i> fa-2x</p>
|
|
<p><i class="fa fa-camera-retro fa-3x" aria-hidden="true"></i> fa-3x</p>
|
|
<p><i class="fa fa-camera-retro fa-4x" aria-hidden="true"></i> fa-4x</p>
|
|
<p><i class="fa fa-camera-retro fa-5x" aria-hidden="true"></i> fa-5x</p>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
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.
|
|
</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 fa-lg"</span><span class="nt">></i></span> fa-lg
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-camera-retro fa-2x"</span><span class="nt">></i></span> fa-2x
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-camera-retro fa-3x"</span><span class="nt">></i></span> fa-3x
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-camera-retro fa-4x"</span><span class="nt">></i></span> fa-4x
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-camera-retro fa-5x"</span><span class="nt">></i></span> fa-5x
|
|
</code></pre></div>
|
|
<div class="alert alert-success">
|
|
<ul class="fa-ul">
|
|
<li>
|
|
<i class="fa fa-exclamation-triangle fa-li fa-lg"></i>
|
|
If your icons are getting chopped off on top and bottom, make sure you have
|
|
sufficient line-height.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="fixed-width">
|
|
<h2 class="page-header">
|
|
Fixed Width Icons
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/fixed-width.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_fixed-width.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<div class="list-group">
|
|
<a class="list-group-item" href="#"><i class="fa fa-home fa-fw" aria-hidden="true"></i> Home</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-book fa-fw" aria-hidden="true"></i> Library</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> Applications</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> Settings</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
Use <code>fa-fw</code> to set icons at a fixed width. Great to use when different icon widths throw off alignment.
|
|
Especially useful in things like nav lists & list groups.
|
|
</p>
|
|
<div class="highlight"><pre><code class="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"list-group"</span><span class="nt">></span>
|
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"list-group-item"</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="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> Home<span class="nt"></a></span>
|
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"list-group-item"</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="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> Library<span class="nt"></a></span>
|
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"list-group-item"</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="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> Applications<span class="nt"></a></span>
|
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"list-group-item"</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-cog fa-fw"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> Settings<span class="nt"></a></span>
|
|
<span class="nt"></div></span>
|
|
</code></pre></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="list">
|
|
<h2 class="page-header">
|
|
List Icons
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/list.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_list.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<ul class="fa-ul">
|
|
<li><i class="fa-li fa fa-check-square"></i>List icons</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>as bullets</li>
|
|
<li><i class="fa-li fa fa-square"></i>in lists</li>
|
|
</ul>
|
|
</div>
|
|
<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<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>as bullets<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>in lists<span class="nt"></li></span>
|
|
<span class="nt"></ul></span>
|
|
</code></pre></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="bordered-pulled">
|
|
<h2 class="page-header">
|
|
Bordered & Pulled Icons
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/bordered-pulled.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_bordered-pulled.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<p>
|
|
<i class="fa fa-quote-left fa-3x fa-pull-left fa-border" aria-hidden="true"></i>
|
|
…tomorrow we will run faster, stretch out our arms farther… And then one fine morning—
|
|
So we beat on, boats against the current, borne back ceaselessly into the past.
|
|
</p>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
Use <code>fa-border</code> and <code>fa-pull-right</code> or <code>fa-pull-left</code> for easy pull quotes or
|
|
article icons.
|
|
</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-3x fa-pull-left fa-border"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
...tomorrow we will run faster, stretch out our arms farther...
|
|
And then one fine morning<span class="ni">&mdash;</span> So we beat on, boats against the
|
|
current, borne back ceaselessly into the past.
|
|
</code></pre></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="animated">
|
|
<h2 class="page-header">
|
|
Animated Icons
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/animated.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_animated.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<p>
|
|
<i class="fa fa-spinner fa-spin fa-3x fa-fw margin-bottom"></i>
|
|
<span class="sr-only">Loading example (with fa-spinner icon)</span>
|
|
|
|
<i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw margin-bottom"></i>
|
|
<span class="sr-only">Loading (with fa-circle-o-notch icon)</span>
|
|
|
|
<i class="fa fa-refresh fa-spin fa-3x fa-fw margin-bottom"></i>
|
|
<span class="sr-only">Loading example (with fa-refresh icon)</span>
|
|
|
|
<i class="fa fa-cog fa-spin fa-3x fa-fw margin-bottom"></i>
|
|
<span class="sr-only">Loading example (with fa-cog icon)</span>
|
|
|
|
<i class="fa fa-spinner fa-pulse fa-3x fa-fw margin-bottom"></i>
|
|
<span class="sr-only">Loading example (with fa-spinner icon)</span>
|
|
</p>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
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>.
|
|
</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 fa-3x fa-fw"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Loading...<span class="nt"></span></span>
|
|
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-circle-o-notch fa-spin fa-3x fa-fw"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Loading...<span class="nt"></span></span>
|
|
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-refresh fa-spin fa-3x fa-fw"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Loading...<span class="nt"></span></span>
|
|
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-cog fa-spin fa-3x fa-fw"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Loading...<span class="nt"></span></span>
|
|
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-spinner fa-pulse fa-3x fa-fw"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Loading...<span class="nt"></span></span>
|
|
</code></pre></div>
|
|
<p class="alert alert-success">
|
|
<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>
|
|
for examples and possible workarounds.
|
|
</p>
|
|
<p class="alert alert-success">
|
|
<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.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="rotated-flipped">
|
|
<h2 class="page-header">
|
|
Rotated & Flipped
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/rotated-flipped.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_rotated-flipped.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<p style="font-size: 18px;">
|
|
<i class="fa fa-shield" aria-hidden="true"></i> normal<br>
|
|
<i class="fa fa-shield fa-rotate-90" aria-hidden="true"></i> fa-rotate-90<br>
|
|
<i class="fa fa-shield fa-rotate-180" aria-hidden="true"></i> fa-rotate-180<br>
|
|
<i class="fa fa-shield fa-rotate-270" aria-hidden="true"></i> fa-rotate-270<br>
|
|
<i class="fa fa-shield fa-flip-horizontal" aria-hidden="true"></i> fa-flip-horizontal<br>
|
|
<i class="fa fa-shield fa-flip-vertical" aria-hidden="true"></i> fa-flip-vertical
|
|
</p>
|
|
</div>
|
|
<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> 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> 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> 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> 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> 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> fa-flip-vertical
|
|
</code></pre></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="stacked">
|
|
<h2 class="page-header">
|
|
Stacked Icons
|
|
<div class="pull-right text-default margin-top padding-top-sm hidden-xs">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//less/stacked.less" class="text-muted padding-right">View LESS</a>
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/blob//scss/_stacked.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<div class="margin-bottom">
|
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
|
<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" aria-hidden="true">
|
|
<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" aria-hidden="true">
|
|
<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" aria-hidden="true">
|
|
<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
|
|
</div>
|
|
</div>
|
|
<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
|
|
</code></pre></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="bootstrap">
|
|
<h2 class="page-header">Bootstrap 3 Examples</h2>
|
|
<div class="row">
|
|
<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="#">
|
|
<i class="fa fa-code-fork fa-2x pull-left"></i> Fork Awesome<br>Version 1.0.1</a>
|
|
</p>
|
|
<div class="margin-bottom">
|
|
<div class="btn-group">
|
|
<a class="btn btn-default" href="#">
|
|
<i class="fa fa-align-left" title="Align Left"></i>
|
|
</a>
|
|
<a class="btn btn-default" href="#">
|
|
<i class="fa fa-align-center" title="Align Center"></i>
|
|
</a>
|
|
<a class="btn btn-default" href="#">
|
|
<i class="fa fa-align-right" title="Align Right"></i>
|
|
</a>
|
|
<a class="btn btn-default" href="#">
|
|
<i class="fa fa-align-justify" title="Align Justify"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="margin-bottom">
|
|
<div class="input-group margin-bottom-sm">
|
|
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
|
|
<input class="form-control" type="text" placeholder="Email address">
|
|
</div>
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
|
|
<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" title="Toggle dropdown menu"></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="fa fa-unlock"></i> Make admin</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
Fork Awesome works great with the full range of Bootstrap components.
|
|
</p>
|
|
<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>
|
|
<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> Fork Awesome<span class="nt"><br></span>Version <span class="nt"></a></span>
|
|
|
|
<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">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-left"</span> <span class="na">title=</span><span class="s">"Align Left"</span><span class="nt">></i></span>
|
|
<span class="nt"></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">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-center"</span> <span class="na">title=</span><span class="s">"Align Center"</span><span class="nt">></i></span>
|
|
<span class="nt"></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">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-right"</span> <span class="na">title=</span><span class="s">"Align Right"</span><span class="nt">></i></span>
|
|
<span class="nt"></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">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-justify"</span> <span class="na">title=</span><span class="s">"Align Justify"</span><span class="nt">></i></span>
|
|
<span class="nt"></a></span>
|
|
<span class="nt"></div></span>
|
|
|
|
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group margin-bottom-sm"</span><span class="nt">></span>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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="na">title=</span><span class="s">"Toggle dropdown menu"</span><span class="nt">></span></span>
|
|
<span class="nt"></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">"fa fa-unlock"</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>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="custom">
|
|
<h2 class="page-header">Custom CSS</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<p>Anything you can do with CSS font styles, you can do with Font Awesome.</p>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<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>
|
|
|
|
<section id="accessible">
|
|
<h2 class="page-header">
|
|
Accessibility-Minded
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<p>
|
|
<a class="btn btn-default" href="path/to/settings" aria-label="Settings">
|
|
<i class="fa fa-cog" aria-hidden="true"></i>
|
|
</a>
|
|
|
|
<a class="btn btn-danger" href="path/to/settings" aria-label="Delete">
|
|
<i class="fa fa-trash-o" aria-hidden="true"></i>
|
|
</a>
|
|
|
|
<a class="btn btn-primary" href="#navigation-main" aria-label="Skip to main navigation">
|
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<i class="fa fa-refresh fa-spin fa-3x fa-fw" aria-hidden="true"></i>
|
|
<span class="sr-only">Refreshing...</span>
|
|
|
|
<i class="fa fa-cog fa-spin fa-3x fa-fw" aria-hidden="true"></i>
|
|
<span class="sr-only">Saving. Hang tight!</span>
|
|
</p>
|
|
|
|
<p>
|
|
<div class="input-group margin-bottom-sm">
|
|
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw" aria-hidden="true"></i></span>
|
|
<input class="form-control" type="text" placeholder="Email address">
|
|
</div>
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><i class="fa fa-key fa-fw" aria-hidden="true"></i></span>
|
|
<input class="form-control" type="password" placeholder="Password">
|
|
</div>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="path/to/shopping/cart" class="btn btn-primary" aria-label="View 3 items in your shopping cart">
|
|
<i class="fa fa-shopping-cart" aria-hidden="true"></i>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<i class="fa fa-battery-half" aria-hidden="true"></i>
|
|
<span class="sr-only">Battery level: 50%</span>
|
|
</p>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
With <a href="../accessibility/">our thoughts on icon accessibility</a> in mind, If an icon only adds some extra decoration or branding, it does not need to be announced to users as they are navigating your site or app aurally. Alternatively, if an icon conveys meaning in your content or interface, ensure that this meaning is also conveyed to assistive technologies through alternative displays or text.
|
|
</p>
|
|
|
|
<div class="highlight"><pre><code class="html"><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">"path/to/settings"</span> <span class="na">aria-label=</span><span class="s">"Settings"</span><span class="nt">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-cog"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
<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">"path/to/settings"</span> <span class="na">aria-label=</span><span class="s">"Delete"</span><span class="nt">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-trash-o"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
<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">"#navigation-main"</span> <span class="na">aria-label=</span><span class="s">"Skip to main navigation"</span><span class="nt">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-bars"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
<span class="nt"></a></span>
|
|
</code></pre></div>
|
|
|
|
<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-refresh fa-spin fa-3x fa-fw"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Refreshing...<span class="nt"></span></span>
|
|
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-cog fa-spin fa-3x fa-fw"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Saving. Hang tight!<span class="nt"></span></span>
|
|
</code></pre></div>
|
|
|
|
<div class="highlight"><pre><code class="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group margin-bottom-sm"</span><span class="nt">></span>
|
|
<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="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span></span>
|
|
<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>
|
|
<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="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span></span>
|
|
<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>
|
|
</code></pre></div>
|
|
|
|
<div class="highlight"><pre><code class="html"><span class="nt"><a</span> <span class="na">href=</span><span class="s">"path/to/shopping/cart"</span> <span class="na">class=</span><span class="s">"btn btn-primary"</span> <span class="na">aria-label=</span><span class="s">"View 3 items in your shopping cart"</span><span class="nt">></span>
|
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-shopping-cart"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
<span class="nt"></a></span>
|
|
</code></pre></div>
|
|
|
|
<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-battery-half"</span> <span class="na">aria-hidden=</span><span class="s">"true"</span><span class="nt">></i></span>
|
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"sr-only"</span><span class="nt">></span>Battery level: 50%<span class="nt"></span></span>
|
|
</code></pre></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<footer id="footer" class="footer hidden-print">
|
|
<div class="container text-center">
|
|
<div>
|
|
<i class="fa fa-fork" aria-hidden="true"></i> Fork Awesome 1.0.1
|
|
<span class="hide-xs">·</span><br class="hide-sm hide-md hide-lg">
|
|
A fork of Font Awesome, originally created by <a href="https://twitter.com/davegandy">Dave Gandy</a>
|
|
</div>
|
|
<div>
|
|
Fork Awesome is licensed under <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a>
|
|
<span class="hide-xs">·</span><br class="hide-sm hide-md hide-lg">
|
|
Code is licensed under <a href="http://opensource.org/licenses/mit-license.html">MIT License</a>
|
|
<span class="hide-xs hide-sm">·</span><br class="hide-md hide-lg">
|
|
Documentation is licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>
|
|
</div>
|
|
<div class="project">
|
|
<a href="https://github.com/ForkAwesome/Fork-Awesome">GitHub Project</a> ·
|
|
<a href="https://github.com/ForkAwesome/Fork-Awesome/issues">Issues</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://platform.twitter.com/widgets.js"></script>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
|
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
|
<script src="../assets/js/site.js"></script>
|
|
<script src="../assets/js/search.js"></script>
|
|
|
|
</body>
|
|
</html>
|