Font-Awesome/get-started/index.html

589 lines
31 KiB
HTML
Raw Normal View History

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" />
2015-04-18 05:04:59 +08:00
<meta name="viewport" content="width=device-width,initial-scale=1">
2014-05-15 04:13:14 +08:00
<meta name="description" content="Font Awesome, the iconic font and CSS framework">
2013-05-11 00:00:01 +08:00
<meta name="author" content="Dave Gandy">
2014-08-27 00:51:53 +08:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
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>Get Started with Font Awesome</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]-->
2015-09-02 02:52:06 +08:00
<script src="https://use.fonticons.com/ffe176a3.js"></script>
2013-05-11 00:00:01 +08:00
2015-04-18 05:04:59 +08:00
<script>
2013-05-11 00:00:01 +08:00
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30136587-1']);
_gaq.push(['_trackPageview']);
(function() {
2015-04-18 05:04:59 +08:00
var ga = document.createElement('script');
ga.src = 'https://www.google-analytics.com/ga.js';
var s = document.scripts[0];
s.parentNode.insertBefore(ga, s);
2013-05-11 00:00:01 +08:00
})();
</script>
</head>
2016-05-09 22:02:34 +08:00
<body class="font-awesome v-get-started">
<div id="wrap"> <!-- necessary for sticky footer. wrap all content except footer -->
2016-02-25 06:06:49 +08:00
<div class="collapse hidden-print" id="banner">
<div class="container">
<div class="message-container">
<div class="tagline">
<span id="rotating-message"></span>
</div>
<div class="action">
2016-10-25 00:01:53 +08:00
<a id="rotating-url" class="btn btn-primary btn-lg btn-block" href=""></a>
2016-02-25 06:06:49 +08:00
</div>
</div>
</div>
</div>
<div class="navbar navbar-org navbar-static-top">
2015-01-23 02:55:45 +08:00
<div class="container">
2015-12-17 05:02:59 +08:00
<ul class="nav navbar-nav navbar-right">
2016-01-09 07:03:37 +08:00
<li>
2016-10-25 00:01:53 +08:00
<a href="http://fortawesome.com/start?utm_source=font_awesome_navbar&utm_medium=display&utm_content=font_awesome_navbar&utm_campaign=promo_4.7_update" data-toggle="tooltip" data-container="body" data-placement="bottom" data-html="true" title="Take your front end game<br>to the next level!">
2016-05-13 23:45:24 +08:00
<i class="fa fa-fort-awesome fa-lg valign-baseline"></i>&nbsp;
2016-01-09 07:03:37 +08:00
Fort Awesome
</a>
</li>
<li>
2016-10-25 00:01:53 +08:00
<a href="http://symbolset.com/?utm_source=font_awesome_navbar&utm_medium=display&utm_content=font_awesome_navbar&utm_campaign=promo_4.7_update" data-toggle="tooltip" data-container="body" data-placement="bottom" data-html="true" title="Get the perfect icon set!">
<i class="fas fas-heart-ss"></i>&nbsp;
Symbolset
</a>
</li>
2016-01-09 07:03:37 +08:00
<li class="active">
2016-10-25 00:01:53 +08:00
<a href="http://fontawesome.io/?utm_source=font_awesome_navbar&utm_medium=display&utm_content=font_awesome_navbar&utm_campaign=promo_4.7_update" data-toggle="tooltip" data-container="body" data-placement="bottom" data-html="true" title="The iconic font<br>&amp; CSS toolkit">
2016-05-13 23:45:24 +08:00
<i class="fa fa-font-awesome"></i>&nbsp;
2016-01-09 07:03:37 +08:00
Font Awesome</a>
</li>
2015-12-17 05:02:59 +08:00
</ul>
<div class="navbar-text navbar-right hide-xs">Build and serve a faster front end!</div>
2015-01-23 02:55:45 +08:00
</div>
</div>
<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">
2016-04-12 02:10:07 +08:00
<i class="fa fa-bars fa-lg" aria-hidden="true" title="Toggle navigation"></i>
2013-10-23 23:12:39 +08:00
<span class="sr-only">Toggle navigation</span>
</button>
2016-05-13 23:45:24 +08:00
<a class="navbar-brand" href="../"><i class="fa fa-font-awesome" aria-hidden="true"></i> Font Awesome</a>
2013-10-23 23:12:39 +08:00
</div>
2013-06-13 02:43:02 +08:00
2013-10-23 23:12:39 +08:00
<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>
2016-04-12 02:10:07 +08:00
<li class="hidden-sm active"><a href="../get-started/">Get Started</a></li>
<li class="hidden-xs hidden-md hidden-lg active">
<a href="../get-started/">Start</a>
</li>
2013-10-23 23:12:39 +08:00
<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">
2016-04-12 02:10:07 +08:00
<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>
2013-10-23 23:12:39 +08:00
</a>
<ul class="dropdown-menu pull-right">
2016-04-12 02:10:07 +08:00
<li><a href="../icons/"><i class="fa fa-flag fa-fw" aria-hidden="true"></i>&nbsp; All Icons</a></li>
2013-10-23 23:12:39 +08:00
<li class="divider"></li>
2016-10-25 00:01:53 +08:00
<li><a href="../icons/#new"><i class="fa fa-handshake-o fa-fw" aria-hidden="true"></i>&nbsp; New Icons in 4.7</a></li>
2016-04-12 02:10:07 +08:00
<li><a href="../icons/#web-application"><i class="fa fa-camera-retro fa-fw" aria-hidden="true"></i>&nbsp; Web Application Icons</a></li>
<li><a href="../icons/#accessibility"><i class="fa fa-universal-access fa-fw" aria-hidden="true"></i>&nbsp; Accessibility Icons</a></li>
<li><a href="../icons/#hand"><i class="fa fa-hand-spock-o fa-fw" aria-hidden="true"></i>&nbsp; Hand Icons</a></li>
<li><a href="../icons/#transportation"><i class="fa fa-ship fa-fw" aria-hidden="true"></i>&nbsp; Transportation Icons</a></li>
<li><a href="../icons/#gender"><i class="fa fa-venus fa-fw" aria-hidden="true"></i>&nbsp; Gender Icons</a></li>
<li><a href="../icons/#file-type"><i class="fa fa-file-image-o fa-fw" aria-hidden="true"></i>&nbsp; File Type Icons</a></li>
<li><a href="../icons/#spinner"><i class="fa fa-spinner fa-fw" aria-hidden="true"></i>&nbsp; Spinner Icons</a></li>
<li><a href="../icons/#form-control"><i class="fa fa-check-square fa-fw" aria-hidden="true"></i>&nbsp; Form Control Icons</a></li>
<li><a href="../icons/#payment"><i class="fa fa-credit-card fa-fw" aria-hidden="true"></i>&nbsp; Payment Icons</a></li>
<li><a href="../icons/#chart"><i class="fa fa-pie-chart fa-fw" aria-hidden="true"></i>&nbsp; Chart Icons</a></li>
<li><a href="../icons/#currency"><i class="fa fa-won fa-fw" aria-hidden="true"></i>&nbsp; Currency Icons</a></li>
<li><a href="../icons/#text-editor"><i class="fa fa-file-text-o fa-fw" aria-hidden="true"></i>&nbsp; Text Editor Icons</a></li>
<li><a href="../icons/#directional"><i class="fa fa-arrow-right fa-fw" aria-hidden="true"></i>&nbsp; Directional Icons</a></li>
<li><a href="../icons/#video-player"><i class="fa fa-play-circle fa-fw" aria-hidden="true"></i>&nbsp; Video Player Icons</a></li>
<li><a href="../icons/#brand"><i class="fa fa-facebook-official fa-fw" aria-hidden="true"></i>&nbsp; Brand Icons</a></li>
<li><a href="../icons/#medical"><i class="fa fa-medkit fa-fw" aria-hidden="true"></i>&nbsp; Medical Icons</a></li>
2013-10-23 23:12:39 +08:00
</ul>
</li>
<li class="dropdown-split-left"><a href="../examples/">Examples</a></li>
<li class="dropdown dropdown-split-right hidden-xs">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
2016-04-12 02:10:07 +08:00
<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>
2013-10-23 23:12:39 +08:00
</a>
<ul class="dropdown-menu pull-right">
<li><a href="../examples/">Examples</a></li>
<li class="divider"></li>
2014-05-15 04:13:14 +08:00
<li><a href="../examples/#basic">Basic Icons</a></li>
2013-10-23 23:12:39 +08:00
<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>
2015-01-23 02:55:45 +08:00
<li><a href="../examples/#animated">Animated Icons</a></li>
2016-04-12 02:10:07 +08:00
<li><a href="../examples/#accessible">Accessibility-Minded</a></li>
2013-10-23 23:12:39 +08:00
<li><a href="../examples/#rotated-flipped">Rotated &amp; 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>
2016-04-22 23:35:08 +08:00
<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>
2013-10-23 23:12:39 +08:00
<li><a href="../community/">Community</a></li>
<li><a href="../license/">License</a></li>
</ul>
2016-04-12 23:03:45 +08:00
2016-04-22 23:35:08 +08:00
<ul class="nav navbar-nav navbar-right">
2016-10-25 00:01:53 +08:00
<li><a href="http://articles.fortawesome.com">Blog</a></li>
2016-04-12 23:03:45 +08:00
</ul>
2013-05-11 00:00:01 +08:00
</div>
</div>
</div>
2014-06-18 06:23:21 +08:00
2013-05-11 00:00:01 +08:00
<div class="jumbotron jumbotron-ad hidden-print">
<div class="container">
2016-04-21 02:45:06 +08:00
2016-04-12 02:10:07 +08:00
<h1><i class="fa fa-cogs" aria-hidden="true"></i>&nbsp; Get Started</h1>
2016-10-25 00:01:53 +08:00
<p>Easy ways to get Font Awesome 4.7.0 onto your website</p>
2016-04-21 02:45:06 +08:00
2013-05-11 00:00:01 +08:00
</div>
2016-04-21 02:45:06 +08:00
2013-05-11 00:00:01 +08:00
</div>
2016-05-09 22:02:34 +08:00
<div class="content-underlay"></div>
<div class="container">
<section class="get-started-cdn" id="get-started-cdn">
<h2 class="page-header margin-top-lg clearfix">
Font Awesome CDN
<span class="label label-brand text-base pull-right">Easiest</span>
</h2>
<p class="lead">Font Awesome CDN is the easiest way to get Font Awesome on your website or app, all with just a single line of code. No downloading or installing!</p>
<form class="row" action="https://cdn.fontawesome.com/register" method="post">
<div class="col-sm-6 signup-input">
<label for="email" class="sr-only">Email address</label>
<input type="email" class="form-control input-lg margin-bottom" id="email" name="email" placeholder="Your email address">
</div>
<div class="col-sm-6 signup-button">
<button type="submit" class="btn btn-success btn-lg btn-block margin-bottom">Send my Font Awesome embed code!</button>
</div>
</form>
2016-05-09 22:02:34 +08:00
<!-- CASE: error -->
<!-- <form class="row" action="http://fontawesome-cdn.dev:4000/register" method="post">
<div class="col-sm-6 signup-input has-error">
<label for="cdn-email" class="sr-only">Email address</label>
<input type="email" class="form-control input-lg margin-bottom" id="email" name="email" placeholder="Your email address">
<p id="cdn-email-error" class="help-block">Email address must be valid.</p>
</div>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<div class="col-sm-6 signup-button">
<button type="submit" class="btn btn-success btn-lg btn-block margin-bottom">Send my Font Awesome embed code!</button>
</div>
</form> -->
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<p class="help-block margin-top-none margin-bottom-sm"><a role="button" data-toggle="collapse" href="#cdn-why-email" aria-expanded="false" aria-controls="collapseExample">Why do we need your email address?</a></p>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<div class="collapse" id="cdn-why-email">
<div class="well">
We create new embed codes for each website so you can quickly upgrade and change your preferences all without ever pushing code. To do this, we need an email
address so we know which embed codes are yours and so you can come back and manage them.
</div>
</div>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<div class="row margin-bottom-none">
<div class="col-sm-6 col-md-3">
<h4>Icons on your site. Fast.</h4>
2016-10-25 00:01:53 +08:00
<p>Don't mess with files locally or in production. You'll get all of Font Awesome's 675 icons plus CSS toolkit - all optimized for speed and no hassle.</p>
2016-05-09 22:02:34 +08:00
</div>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<div class="col-sm-6 col-md-3">
<h4>Super-simple upgrades</h4>
<p>Since each site gets a unique embed code, you can easily upgrade to the latest version of Font Awesome, all without pushing any code. Easy peasy.</p>
</div>
<div class="col-sm-6 col-md-3">
<h4>Auto accessibility support</h4>
<p>Font Awesome CDN helps you automate accessibility support more easily so your icons work for the most people possible. Read up on our <a href="../accessibility">accessibility best practices</a>.</p>
</div>
<div class="col-sm-6 col-md-3">
<h4>Async your icons</h4>
<p>Want to speed up your page loads? So do we. Have your icons load in the background so your site loads faster.</p>
</div>
</div>
</section>
<div class="hr margin-top-xl">
<span class="hr-text text-xl text-muted">or</span>
2013-10-23 23:12:39 +08:00
</div>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<section class="get-started-download" id="get-started-download">
<h2 class="page-header clearfix">
Download &amp; Customize
<span class="label label-default text-base pull-right">Easy</span>
</h2>
<div class="row">
<div class="col-md-9">
<p class="text-lg">
Want to manage and host Font Awesome assets yourself? You can
<a href="#modal-download" data-toggle="modal" onClick="_gaq.push(['_trackEvent', 'Launch Modal', 'Launch Download Modal']);">download</a>,
customize, and use the icons and default styling manually. Both CSS and CSS Preprocessor (Sass and Less) formats are included.</p>
</div>
<div class="col-md-3">
<a class="btn btn-default btn-lg btn-block" href="#modal-download" data-toggle="modal"
onClick="_gaq.push(['_trackEvent', 'Launch Modal', 'Launch Download Modal']);">
<i class="fa fa-download fa-lg margin-right-sm"></i>
Download
</a>
</div>
</div>
<div class="download-css margin-bottom-xl" id="download-css">
<h3>Using CSS</h3>
<ol>
<li>Copy the entire <code>font-awesome</code> directory into your project.</li>
<li>
In the <code>&lt;head&gt;</code> of your html, reference the location to your font-awesome.min.css.
2013-10-23 23:12:39 +08:00
<div class="highlight"><pre><code class="html"><span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span> <span class="na">href=</span><span class="s">&quot;path/to/font-awesome/css/font-awesome.min.css&quot;</span><span class="nt">&gt;</span>
2013-05-11 00:00:01 +08:00
</code></pre></div>
2016-05-09 22:02:34 +08:00
</li>
<li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
</ol>
</div>
<div class="download-preprocessors" id="download-preprocessors">
<h3>Using Sass or Less</h3>
2016-10-25 00:01:53 +08:00
<p>Use this method to customize Font Awesome 4.7.0 using LESS or SASS.</p>
2016-05-09 22:02:34 +08:00
<ol>
<li>Copy the <code>font-awesome/</code> directory into your project.</li>
<li>
Open your project's <code>font-awesome/less/variables.less</code> or <code>font-awesome/scss/_variables.scss</code> and edit the <code>@fa-font-path</code> or <code>$fa-font-path</code>
variable to point to your font directory.
<div class="highlight"><pre><code class="scss"><span class="k">@fa-font-path</span><span class="nd">:</span> <span class="s2">&quot;../font&quot;</span><span class="o">;</span>
</code></pre></div>
<p class="alert alert-success"><i class="fa fa-info-circle"></i> The font path is relative from your compiled CSS directory.</p>
</li>
<li>Re-compile your LESS or SASS if using a static compiler. Otherwise, you should be good to go.</li>
<li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
</ol>
</div>
2013-10-23 23:12:39 +08:00
</section>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<div class="hr margin-top-lg">
<span class="hr-text text-xl text-muted">or</span>
</div>
<section class="get-started-advanced" id="get-started-advanced">
<h2 class="page-header clearfix">
Advanced &amp; Packages
<span class="label label-default text-base pull-right">Pro</span>
</h2>
<div class="ruby-gem-less margin-bottom-xl" id="ruby-gem-less">
<h3><a href="https://github.com/FortAwesome/font-awesome-less">LESS Ruby Gem</a></h3>
<p>
Use the <a href="https://github.com/FortAwesome/font-awesome-less">Official Font Awesome LESS Ruby Gem</a> to easily get Font
Awesome LESS into a Rails project. Generously maintained by <a href="https://twitter.com/supercodepoet/">@supercodepoet</a>.
</p>
<ol>
<li>
Add this line to your application's Gemfile:
2013-11-05 01:53:03 +08:00
<div class="highlight"><pre><code class="bash">gem <span class="s1">&#39;font-awesome-less&#39;</span>
</code></pre></div>
2016-05-09 22:02:34 +08:00
</li>
<li>
And then execute:
2013-11-05 01:53:03 +08:00
<div class="highlight"><pre><code class="bash"><span class="nv">$ </span>bundle
</code></pre></div>
2016-05-09 22:02:34 +08:00
</li>
<li>Or install it yourself as:
2013-11-05 01:53:03 +08:00
<div class="highlight"><pre><code class="bash"><span class="nv">$ </span>gem install font-awesome-less
</code></pre></div>
2016-05-09 22:02:34 +08:00
</li>
</ol>
<p>
If you use Rails, add this to your e.g. <code>application.less</code>:
</p>
<div class="highlight"><pre><code class="css"><span class="k">@import</span> <span class="s2">&quot;font-awesome-sprockets&quot;</span><span class="p">;</span>
<span class="k">@import</span> <span class="s2">&quot;font-awesome&quot;</span><span class="p">;</span>
2014-08-27 00:51:53 +08:00
</code></pre></div>
2016-05-09 22:02:34 +08:00
</div>
2013-11-05 01:53:03 +08:00
2016-05-09 22:02:34 +08:00
<div class="ruby-gem-sass" id="ruby-gem-sass">
<h3><a href="https://github.com/FortAwesome/font-awesome-sass">SASS Ruby Gem</a></h3>
<p>
Use the <a href="https://github.com/FortAwesome/font-awesome-sass">Official Font Awesome SASS Ruby Gem</a> to easily get Font
Awesome SASS into a Rails or Compass project. Generously maintained by <a href="https://twitter.com/supercodepoet/">@supercodepoet</a>.
</p>
<ol>
<li>
Add this line to your application's Gemfile:
2013-10-23 23:12:39 +08:00
<div class="highlight"><pre><code class="bash">gem <span class="s1">&#39;font-awesome-sass&#39;</span>
2013-06-13 02:43:02 +08:00
</code></pre></div>
2016-05-09 22:02:34 +08:00
</li>
<li>
And then execute:
2013-10-23 23:12:39 +08:00
<div class="highlight"><pre><code class="bash"><span class="nv">$ </span>bundle
2013-06-13 02:43:02 +08:00
</code></pre></div>
2016-05-09 22:02:34 +08:00
</li>
<li>Or install it yourself as:
2013-10-23 23:12:39 +08:00
<div class="highlight"><pre><code class="bash"><span class="nv">$ </span>gem install font-awesome-sass
2013-05-11 00:00:01 +08:00
</code></pre></div>
2016-05-09 22:02:34 +08:00
</li>
</ol>
<p>
If you use Rails, add this to your e.g. <code>application.scss</code>:
</p>
<div class="highlight"><pre><code class="css"><span class="k">@import</span> <span class="s2">&quot;font-awesome-sprockets&quot;</span><span class="p">;</span>
<span class="k">@import</span> <span class="s2">&quot;font-awesome&quot;</span><span class="p">;</span>
2014-08-27 00:51:53 +08:00
</code></pre></div>
2016-05-09 22:02:34 +08:00
</div>
2013-10-23 23:12:39 +08:00
</section>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<section class="get-started-more margin-top-lg" id="get-started-more">
<h2 class="page-header">More Information</h2>
2013-10-23 23:12:39 +08:00
</section>
2016-05-09 22:02:34 +08:00
<div class="row">
<div class="col-md-6" id="support-validators">
<h4>Validators</h4>
<p>In order to provide the best possible experience to old and buggy browsers, Font Awesome uses <a href="http://browserhacks.com">CSS browser hacks</a> in several places to target special CSS to certain browser versions in order to work around bugs in the browsers themselves. These hacks understandably cause CSS validators to complain that they are invalid. In a couple places, we also use bleeding-edge CSS features that aren't yet fully standardized, but these are used purely for progressive enhancement.</p>
<p>These validation warnings don't matter in practice since the non-hacky portion of our CSS does fully validate and the hacky portions don't interfere with the proper functioning of the non-hacky portion, hence why we deliberately ignore these particular warnings.</p>
<p><a href="http://getbootstrap.com/getting-started/#support-validators">Getting started - Validators</a> by <a href="http://getbootstrap.com/about/#team">Bootstrap Team</a> is licensed under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a></p>
</div>
2015-01-23 02:55:45 +08:00
2016-05-09 22:02:34 +08:00
<div class="col-md-6" id="ie8-font-face">
<h4>Internet Explorer 8 and @font-face</h4>
<p>IE8 has some issues with <code>@font-face</code> when combined with <code>:before</code>.
Font Awesome uses that combination. If a page is cached, and loaded without the mouse over the window
(i.e. hit the refresh button or load something in an iframe) then the page gets rendered before the font loads.
Hovering over the page (body) will show some of the icons and hovering over the remaining icons will show those as well.
<a href="https://github.com/FortAwesome/Font-Awesome/issues/954">See issue #954</a> for details.</p>
<p><a href="http://getbootstrap.com/getting-started/#support-ie8-font-face">Getting started - Internet Explorer 8 and @font-face</a> by <a href="http://getbootstrap.com/about/#team">Bootstrap Team</a> is licensed under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a></p>
</div>
</div>
2015-07-29 05:58:57 +08:00
2016-05-09 22:02:34 +08:00
<div class="row">
<div class="col-md-6" id="need-ie7">
<h4>Need IE7 Support?</h4>
2016-10-25 00:01:53 +08:00
<p>
If you need IE7 support, you have my condolences. Really. Font Awesome 4.7.0
doesn't support IE7, but an older version does. You'll need to check out the
<a href="../3.2.1/get-started/#need-ie7">3.2.1 instructions for using IE7</a>. Then go complain to
whomever decided your project needs IE7 support.
</p>
2016-05-09 22:02:34 +08:00
</div>
2013-05-11 00:00:01 +08:00
2016-05-09 22:02:34 +08:00
<div class="col-md-6" id="troubleshooting">
<h4>Troubleshooting</h4>
<p>If you're having trouble with Font Awesome, make sure to check out the
<a href="https://github.com/FortAwesome/Font-Awesome/wiki/Troubleshooting">troubleshooting wiki page</a>.
Generously maintained by <a href="https://twitter.com/gtagliala">@gtagliala</a>.</p>
</div>
</div>
<div class="modal fade" id="modal-download" tabindex="-1" role="dialog" aria-labelledby="modal-download-label"
xmlns="http://www.w3.org/1999/html">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fa fa-times" aria-hidden="true"></i><span class="close"></span></button>
<h2 class="modal-title" id="modal-download-label">
<i class="fa fa-download fa-lg" aria-hidden="true"></i>&nbsp;
Download
</h2>
</div>
<div class="modal-body">
<div class="text-lg margin-bottom-lg">
Before you download, check out our latest project: Fort Awesome&mdash;
</div>
<div class="row">
<div class="col-md-6 col-sm-6 margin-bottom-lg">
<h4 class="page-header margin-top-none padding-bottom-sm margin-bottom-sm">More Sets</h4>
Font Awesome not the right look? We've got the perfect icon set for your website!
</div>
<div class="col-md-6 col-sm-6 margin-bottom-lg">
<h4 class="page-header margin-top-none padding-bottom-sm margin-bottom-sm">Your Icons</h4>
Copy &amp; paste your own logo and icons directly into Fort Awesome. Easy peasy.
</div>
<div class="col-md-6 col-sm-6 margin-bottom-lg">
<h4 class="page-header margin-top-none padding-bottom-sm margin-bottom-sm">Fonts Too!</h4>
Subset and serve your typefaces too! We've got some great ones to start with.
</div>
<div class="col-md-6 col-sm-6 margin-bottom-lg">
<h4 class="page-header margin-top-none padding-bottom-sm margin-bottom-sm">Optimized</h4>
Subsetting your icons and typefaces often shrinks them by 95% or more!
</div>
<div class="col-md-6 col-sm-6 margin-bottom-lg">
<h4 class="page-header margin-top-none padding-bottom-sm margin-bottom-sm">Hosted</h4>
No more messing with files! Update and deploy your icons to our CDN.
</div>
<div class="col-md-6 col-sm-6 margin-bottom-lg">
<h4 class="page-header margin-top-none padding-bottom-sm margin-bottom-sm">Faster</h4>
Optimized and hosted means your icons and typefaces load much faster.
</div>
</div>
2016-10-25 00:01:53 +08:00
<a href="https://fortawesome.com/start?utm_source=font_awesome_homepage&utm_medium=display&utm_content=download_modal&utm_campaign=promo_4.7_update" class="btn btn-success btn-lg btn-block">
2016-05-09 22:02:34 +08:00
Take your icon game <br class="visible-xs" />to the next level with
<h2 class="margin-top-sm margin-bottom-sm hidden-xs"><i class="fas fas-fort-logo fas-lg valign-baseline"></i>&nbsp; Fort Awesome</h2>
<h3 class="margin-top-sm margin-bottom-sm visible-xs"><i class="fas fas-fort-logo fas-lg valign-baseline"></i>&nbsp; Fort Awesome</h3>
</a>
<div class="text-center margin-top-sm margin-bottom-sm">or</div>
2016-10-25 00:01:53 +08:00
<a class="btn btn-default btn-lg btn-block" href="../assets/font-awesome-4.7.0.zip"
2016-05-09 22:02:34 +08:00
onClick="_gaq.push(['_trackEvent', 'Outbound Modal Link', 'Download on GitHub']);">
No thanks, just download <br class="visible-xs" />Font Awesome
</a>
</div>
</div>
</div>
2013-05-11 00:00:01 +08:00
</div>
2015-03-28 02:50:32 +08:00
</div>
<footer id="footer" class="footer hidden-print">
2013-05-11 00:00:01 +08:00
<div class="container text-center">
2016-10-25 00:01:53 +08:00
<div id="inventory">
<a href="http://www.wpbeginner.com/?utm_source=fontawesome_footer&utm_medium=banner&utm_campaign=fontawesome"
title="Beginner's Guide to WordPress" target="_blank" rel="nofollow"
onClick="_gaq.push(['_trackEvent', 'Outbound Link', 'wpbeginner.com']);">
<img src="../assets/img/logo-wpbeginner.png" width="220" height="65" alt="">
</a>
2016-05-09 22:02:34 +08:00
<a href="http://themeisle.com/?utm_source=fontawesome_footer&utm_medium=banner&utm_campaign=fontawesome"
title="Premium Wordpress Themes" target="_blank" rel="nofollow"
onClick="_gaq.push(['_trackEvent', 'Outbound Link', 'themeisle.com']);">
2015-04-18 05:04:59 +08:00
<img src="../assets/img/logo-themeisle.png" width="220" height="65" alt="">
</a>
</div>
2013-05-11 00:00:01 +08:00
<div>
2016-10-25 00:01:53 +08:00
<i class="fa fa-flag" aria-hidden="true"></i> Font Awesome 4.7.0
2013-10-23 23:12:39 +08:00
<span class="hide-xs">&middot;</span><br class="hide-sm hide-md hide-lg">
2015-04-18 05:04:59 +08:00
Created by <a href="https://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">&middot;</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">&middot;</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>
2016-09-13 03:01:07 +08:00
Thanks to <a href="http://tracking.maxcdn.com/c/148092/3982/378/"><i class="fa fa-maxcdn"></i> MaxCDN</a> for providing the excellent <a href="https://www.bootstrapcdn.com/fontawesome/">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> &middot;
2013-10-28 04:38:45 +08:00
<a href="https://github.com/FortAwesome/Font-Awesome/issues">Issues</a> &middot;
<a href="../3.2.1">Old 3.2.1 Docs</a>
2013-05-11 00:00:01 +08:00
</div>
</div>
</footer>
2016-10-26 00:34:36 +08:00
<div class="modal" id="modal-kickstarter" tabindex="-1" role="dialog" aria-labelledby="modal-kickstarter-label">
2016-10-25 00:01:53 +08:00
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fa fa-times" aria-hidden="true"></i><span class="close"></span></button>
2016-10-26 00:34:36 +08:00
<h2 class="modal-title" id="modal-kickstarter-label">Font Awesome 5!</h2>
2016-10-25 00:01:53 +08:00
</div>
<div class="modal-body">
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
2016-10-26 00:34:36 +08:00
<div class='embed-container'>
<iframe id="kickstarter-iframe" src="https://www.kickstarter.com/projects/232193852/font-awesome-5/widget/video.html" frameborder="0" scrolling="no" allowfullscreen></iframe>
</div>
2016-10-25 00:01:53 +08:00
<a class="btn btn-kickstarter btn-lg btn-block margin-top" href="http://five.fontawesome.io/?utm_source=font_awesome_homepage&utm_medium=display&utm_content=kickstarter_modal&utm_campaign=promo_4.7_update"
onClick="_gaq.push(['_trackEvent', 'Outbound Modal Link', 'Check out the Kickstarter']);">
<h3 class="margin text-sans-serif strong">Check out the <br class="hide-sm hide-md hide-lg">Kickstarter! &nbsp;<i class="fa fa-external-link-square" aria-hidden="true"></i></h3>
</a>
</div>
</div>
</div>
</div>
2013-05-11 00:00:01 +08:00
<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>
2015-07-29 05:58:57 +08:00
<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>
2016-04-26 00:01:25 +08:00
<script src="https://cdn.jsdelivr.net/algoliasearch/3.13.1/algoliasearch.jquery.min.js" integrity="sha256-2MTQjOt4Q02v+W/QjgCO5yv+si9RAo/o/RGR5alVYzY=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/algoliasearch.helper/2.9.1/algoliasearch.helper.min.js" integrity="sha256-MhjLBzVVNkMEKnIE2ueYNb7QSj+oiSv4x89dlui09hg=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/underscorejs/1.8.3/underscore-min.js" integrity="sha256-obZACiHd7gkOk9iIL/pimWMTJ4W/pBsKu+oZnSeBIek=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/backbonejs/1.2.2/backbone-min.js" integrity="sha256-p6bkfFqmxtebrKOS+wyGi+Qf3d111eWUQP67keyXJ6Q=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/jsdelivr-rum/1.5/jsdelivr-rum.min.js" integrity="sha256-HlY2rbkgbiHhtilMXmQ86rjL/EIxGDtdg9GU9/T2ZxE=" crossorigin="anonymous"></script>
<script src="../assets/js/site.js"></script>
2015-09-02 02:52:06 +08:00
<script src="../assets/js/search.js"></script>
2016-10-25 00:01:53 +08:00
<script src="../assets/js/monetization.js" type="text/javascript"></script>
<script>
(function(){
// format, zoneKey, segment:value, options
_bsa.init('imageonly', 'CVADP2Y', 'placement:demo', {
target: '#inventory',
disable_css: true,
path: 'http://inventory.fontawesome.io/api/inventory?zone=CVADP2Y'
});
})();
</script>
2016-09-08 00:38:26 +08:00
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '590758314440297');
fbq('track', "PageView");</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=590758314440297&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
</body>
2013-05-11 00:00:01 +08:00
</html>