2 <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
3 <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
4 <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
5 <!--[if (gte IE 9)|!(IE)]><!-->
6 <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
9 ================================================== -->
10 <meta charset="utf-8" />
11 <title>Get Started with Font Awesome</title>
12 <meta name="description" content="Font Awesome, the iconic font designed for Bootstrap">
13 <meta name="author" content="Dave Gandy">
14 <meta name="viewport" content="width=device-width, initial-scale=1.0">
15 <!--<meta name="viewport" content="initial-scale=1; maximum-scale=1">-->
18 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
22 ================================================== -->
24 <link rel="stylesheet" href="../assets/css/site.css">
25 <link rel="stylesheet" href="../assets/css/pygments.css">
26 <link rel="stylesheet" href="../assets/font-awesome/css/font-awesome.css">
28 <link rel="stylesheet" href="../assets/font-awesome/css/font-awesome-ie7.css">
30 <!-- Le fav and touch icons -->
31 <link rel="shortcut icon" href="../assets/ico/favicon.ico">
33 <script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
34 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
36 <script type="text/javascript">
37 var _gaq = _gaq || [];
38 _gaq.push(['_setAccount', 'UA-30136587-1']);
39 _gaq.push(['_trackPageview']);
42 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
43 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
44 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
48 <body data-spy="scroll" data-target=".navbar">
49 <div class="wrapper"> <!-- necessary for sticky footer. wrap all content except footer -->
50 <div class="navbar navbar-inverse navbar-static-top hidden-print">
51 <div class="navbar-inner">
52 <div class="container">
53 <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
54 <span class="icon-bar"></span>
55 <span class="icon-bar"></span>
56 <span class="icon-bar"></span>
59 <a class="brand" href="../"><i class="icon-flag"></i> Font Awesome</a>
60 <div class="nav-collapse collapse">
62 <li class="hidden-tablet "><a href="../">Home</a></li>
63 <li class="active"><a href="../get-started/">Get Started</a></li>
64 <li class="dropdown-split-left"><a href="../icons/">Icons</a></li>
65 <li class="dropdown dropdown-split-right hidden-phone">
66 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
67 <i class="icon-caret-down"></i>
69 <ul class="dropdown-menu pull-right">
70 <li><a href="../icons/"><i class="icon-flag icon-fixed-width"></i> Icons</a></li>
71 <li class="divider"></li>
72 <li><a href="../icons/#new"><i class="icon-shield icon-fixed-width"></i> New Icons in 3.2.1</a></li>
73 <li><a href="../icons/#web-application"><i class="icon-camera-retro icon-fixed-width"></i> Web Application Icons</a></li>
74 <li><a href="../icons/#currency"><i class="icon-won icon-fixed-width"></i> Currency Icons</a></li>
75 <li><a href="../icons/#text-editor"><i class="icon-file-text-alt icon-fixed-width"></i> Text Editor Icons</a></li>
76 <li><a href="../icons/#directional"><i class="icon-hand-right icon-fixed-width"></i> Directional Icons</a></li>
77 <li><a href="../icons/#video-player"><i class="icon-play-sign icon-fixed-width"></i> Video Player Icons</a></li>
78 <li><a href="../icons/#brand"><i class="icon-github icon-fixed-width"></i> Brand Icons</a></li>
79 <li><a href="../icons/#medical"><i class="icon-medkit icon-fixed-width"></i> Medical Icons</a></li>
82 <li class="dropdown-split-left"><a href="../examples/">Examples</a></li>
83 <li class="dropdown dropdown-split-right hidden-phone">
84 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
85 <i class="icon-caret-down"></i>
87 <ul class="dropdown-menu pull-right">
88 <li><a href="../examples/">Examples</a></li>
89 <li class="divider"></li>
90 <li><a href="../examples/#new-styles">New Styles</a></li>
91 <li><a href="../examples/#inline-icons">Inline Icons</a></li>
92 <li><a href="../examples/#larger-icons">Larger Icons</a></li>
93 <li><a href="../examples/#bordered-pulled">Bordered & Pulled</a></li>
94 <li><a href="../examples/#buttons">Buttons</a></li>
95 <li><a href="../examples/#button-groups">Button Groups</a></li>
96 <li><a href="../examples/#button-dropdowns">Button Dropdowns</a></li>
97 <li><a href="../examples/#bulleted-lists">Bulleted Lists</a></li>
98 <li><a href="../examples/#navigation">Navigation</a></li>
99 <li><a href="../examples/#form-inputs">Form Inputs</a></li>
100 <li><a href="../examples/#animated-spinner">Animated Spinner</a></li>
101 <li><a href="../examples/#rotated-flipped">Rotated & Flipped</a></li>
102 <li><a href="../examples/#stacked">Stacked</a></li>
103 <li><a href="../examples/#custom">Custom CSS</a></li>
106 <li><a href="../whats-new/">
107 <span class="hidden-tablet">What's </span>New</a>
109 <li><a href="../community/">Community</a></li>
110 <li><a href="../license/">License</a></li>
112 <ul class="nav pull-right">
113 <li><a href="http://blog.fontawesome.io">Blog</a></li>
124 <div class="jumbotron jumbotron-ad hidden-print">
125 <div class="container">
126 <h1><i class="icon-cogs icon-large"></i> Get Started</h1>
127 <p>Easy ways to get Font Awesome 3.2.1 onto your website</p>
131 <div id="social-buttons" class="hidden-print">
132 <div class="container">
133 <ul class="unstyled inline">
135 <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>
138 <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>
140 <li class="follow-btn">
141 <a href="https://twitter.com/fontawesome" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @fontawesome</a>
143 <li class="tweet-btn hidden-phone">
144 <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>
151 <div class="container">
153 <section class="hidden-print">
154 <div class="row stripe-ad">
158 Setting up Font Awesome can be as simple as adding two lines of code to your website, or you can be a pro and
159 customize the LESS yourself! Font Awesome even plays nicely with
160 <a href="http://getbootstrap.com">Bootstrap</a>!
165 <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>
172 <div id="bootstrapcdn">
173 <h2 class="page-header">EASIEST: <a href="http://www.bootstrapcdn.com/#tab_fontawesome">BootstrapCDN</a></h2>
174 <p>Add Font Awesome + Bootstrap into your website with two lines of code. You don't even have to download or install anything!</p>
177 Paste the following code into the <code><head></code> section of your site's HTML.
178 <div class="highlight"><pre><code class="html"><span class="nt"><link</span> <span class="na">href=</span><span class="s">"//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css"</span> <span class="na">rel=</span><span class="s">"stylesheet"</span><span class="nt">></span>
179 <span class="nt"><link</span> <span class="na">href=</span><span class="s">"//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css"</span> <span class="na">rel=</span><span class="s">"stylesheet"</span><span class="nt">></span>
181 <div class="alert alert-info margin-top">
182 <i class="icon-info-sign"></i> Want to use Font Awesome by itself without Bootstrap? Just don't include the first line.
186 Pat yourself on the back for your scalable-vector-icons-on-the-website
187 <a href="http://37signals.com/svn/posts/312-lingo-judo">judo solution</a> in two lines of code.
190 Check out the <a href="../examples/">examples</a> to start using Font Awesome!
195 <section id="default-css">
196 <h2 class="page-header">EASY: Default CSS</h2>
197 <p>Use this method to get the default Font Awesome CSS with the default Bootstrap CSS.</p>
199 <li>Copy the <code>font-awesome</code> directory into your project.</li>
201 In the <code><head></code> of your html, reference the location to your font-awesome.min.css.
202 <div class="highlight"><pre><code class="html"><span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"path/to/bootstrap/css/bootstrap.min.css"</span><span class="nt">></span>
203 <span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"path/to/font-awesome/css/font-awesome.min.css"</span><span class="nt">></span>
206 <li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
210 <section id="custom-less">
211 <h2 class="page-header">PRO: Custom LESS</h2>
212 <p>Use this method to customize Font Awesome and Bootstrap 2.3.2 using LESS.</p>
214 <li>Copy the <code>font-awesome</code> directory into your project.</li>
215 <li>Open your project's bootstrap/bootstrap.less and replace
216 <div class="highlight"><pre><code class="html">@import "sprites.less";
219 <div class="highlight"><pre><code class="html">@import "path/to/font-awesome/less/font-awesome.less";
223 Open your project's font-awesome/variables.less and edit the <code>@FontAwesomePath</code> variable to point to your font directory.
224 <div class="highlight"><pre><code class="html">@FontAwesomePath: "../font";
226 <p class="alert alert-info"><i class="icon-info-sign"></i> The font path is relative from your compiled CSS directory.</p>
228 <li>Re-compile your LESS if using a static compiler. Otherwise, you should be good to go.</li>
229 <li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
233 <section id="not-using-bootstrap">
234 <h2 class="page-header">Not using Bootstrap?</h2>
235 <p>Font Awesome works just as well without Bootstrap.</p>
237 <li>Copy the <code>font-awesome</code> directory into your project.</li>
238 <li>Follow the above directions and skip the Bootstrap parts.</li>
239 <li>Open your project's font-awesome.less or font-awesome.min.css and edit the font location to point it to your font directory (see above examples).</li>
240 <li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
244 <section class="need-ie7">
245 <h2 class="page-header">Need IE7 Support?</h2>
246 <p>Font Awesome supports IE7. If you need it, you have my condolences.</p>
248 <li>Get Font Awesome working properly in a modern browser.</li>
249 <li>Copy font-awesome-ie7.min.css into your project.</li>
251 In the <code><head></code> of your html, reference the location to your font-awesome-ie7.min.css.
252 <div class="highlight"><pre><code class="html"><span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"path/to/bootstrap/css/bootstrap.min.css"</span><span class="nt">></span>
253 <span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"path/to/font-awesome/css/font-awesome.min.css"</span><span class="nt">></span>
254 <span class="c"><!--[if IE 7]></span>
255 <span class="c"> <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome-ie7.min.css"></span>
256 <span class="c"><![endif]--></span>
259 <li>Go complain to whoever decided your project needs IE7 support.</li>
265 <div class="push"><!-- necessary for sticky footer --></div>
267 <footer class="footer hidden-print">
268 <div class="container text-center">
270 <i class="icon-flag"></i> Font Awesome 3.2.1
271 <span class="hidden-phone">·</span><br class="visible-phone">
272 Created and Maintained by <a href="http://twitter.com/davegandy">Dave Gandy</a>
275 Font Awesome licensed under <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a>
276 <span class="hidden-phone">·</span><br class="visible-phone">
277 Code licensed under <a href="http://opensource.org/licenses/mit-license.html">MIT License</a>
278 <span class="hidden-phone hidden-tablet">·</span><br class="visible-phone visible-tablet">
279 Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>
282 Thanks to <a href="http://maxcdn.com"><i class="icon-maxcdn"></i> MaxCDN</a> for providing the excellent <a href="http://www.bootstrapcdn.com/#tab_fontawesome">BootstrapCDN for Font Awesome</a>
284 <div class="project">
285 <a href="https://github.com/FortAwesome/Font-Awesome">GitHub Project</a> ·
286 <a href="https://github.com/FortAwesome/Font-Awesome/issues">Issues</a>
292 <script src="http://platform.twitter.com/widgets.js"></script>
293 <script src="../assets/js/jquery-1.7.1.min.js"></script>
294 <script src="../assets/js/ZeroClipboard-1.1.7.min.js"></script>
295 <script src="../assets/js/bootstrap-2.3.1.min.js"></script>
296 <script src="../assets/js/site.js"></script>