1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,39 @@ |
1 |
+<section id="basic"> |
|
2 |
+ <h2 class="page-header"> |
|
3 |
+ Basic Icons |
|
4 |
+ <div class="pull-right text-default margin-top padding-top-sm hidden-xs"> |
|
5 |
+ <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/less/core.less" class="text-muted padding-right">View LESS</a> |
|
6 |
+ <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_core.scss" class="text-muted">View SASS</a> |
|
7 |
+ </div> |
|
8 |
+ </h2> |
|
9 |
+ |
|
10 |
+ <div class="row"> |
|
11 |
+ <div class="col-md-3 col-sm-4"> |
|
12 |
+ <p> |
|
13 |
+ <i class="fa fa-camera-retro"></i> |
|
14 |
+ <span class="sr-only">Example: basic icon</span> |
|
15 |
+ fa-camera-retro |
|
16 |
+ </p> |
|
17 |
+ </div> |
|
18 |
+ <div class="col-md-9 col-sm-8"> |
|
19 |
+ <p> |
|
20 |
+ You can place Font Awesome icons just about anywhere using the CSS Prefix <code>fa</code> and the icon's |
|
21 |
+ name. Font Awesome is designed to be used with inline elements (we like the <code><i></code> tag for |
|
22 |
+ brevity, but using a <code><span></code> is more semantically correct). |
|
23 |
+ </p> |
|
24 |
+{% highlight html %} |
|
25 |
+<i class="fa fa-camera-retro"></i> fa-camera-retro |
|
26 |
+{% endhighlight %} |
|
27 |
+ <div class="alert alert-success"> |
|
28 |
+ <ul class="fa-ul"> |
|
29 |
+ <li> |
|
30 |
+ <i class="fa fa-info-circle fa-lg fa-li" aria-hidden="true"></i> |
|
31 |
+ <strong class="sr-only">Example: basic icon</strong> |
|
32 |
+ If you change the font-size of the icon's container, the icon gets bigger. Same things goes for color, |
|
33 |
+ drop shadow, and anything else that gets inherited using CSS. |
|
34 |
+ </li> |
|
35 |
+ </ul> |
|
36 |
+ </div> |
|
37 |
+ </div> |
|
38 |
+ </div> |
|
39 |
+</section> |