<pclass="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>
<pid="cdn-email-error"class="help-block">Email address must be valid.</p>
</div>
<divclass="col-sm-6 signup-button">
<buttontype="submit"class="btn btn-success btn-lg btn-block margin-bottom">Send my Font Awesome embed code!</button>
</div>
</form> -->
<pclass="help-block margin-top-none margin-bottom-sm"><arole="button"data-toggle="collapse"href="#cdn-why-email"aria-expanded="false"aria-controls="collapseExample">Why do we need your email address?</a></p>
<divclass="collapse"id="cdn-why-email">
<divclass="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>
<divclass="row margin-bottom-none">
<divclass="col-sm-6 col-md-3">
<h4>Icons on your site. Fast.</h4>
<p>Don't mess with files locally or in production. You'll get all of Font Awesome's {{ icons| size }} icons plus CSS toolkit - all optimized for speed and no hassle.</p>
</div>
<divclass="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>
<divclass="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 <ahref="{{ page.relative_path}}accessibility">accessibility best practices</a>.</p>
</div>
<divclass="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>
<p>Use this method to customize Font Awesome {{ site.fontawesome.version }} using LESS or SASS.</p>
<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.
{% highlight scss %}
@fa-font-path: "../font";
{% endhighlight %}
<pclass="alert alert-success"><iclass="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 <ahref="{{ page.relative_path }}examples/">examples</a> to start using Font Awesome!</li>
<p>In order to provide the best possible experience to old and buggy browsers, Font Awesome uses <ahref="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><ahref="http://getbootstrap.com/getting-started/#support-validators">Getting started - Validators</a> by <ahref="http://getbootstrap.com/about/#team">Bootstrap Team</a> is licensed under <ahref="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a></p>
<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.
<ahref="https://github.com/FortAwesome/Font-Awesome/issues/954">See issue #954</a> for details.</p>
<p><ahref="http://getbootstrap.com/getting-started/#support-ie8-font-face">Getting started - Internet Explorer 8 and @font-face</a> by <ahref="http://getbootstrap.com/about/#team">Bootstrap Team</a> is licensed under <ahref="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a></p>