summaryrefslogtreecommitdiff
path: root/snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/basic.html
blob: dbccc7166d5dde0c9170e6d52c705a2135f3394a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<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/{{ site.forkawesome.github.org }}/{{ site.forkawesome.github.project }}/blob/{{ site.forkawesome.version }}/less/core.less" class="text-muted padding-right">View LESS</a>
      <a href="https://github.com/{{ site.forkawesome.github.org }}/{{ site.forkawesome.github.project }}/blob/{{ site.forkawesome.version }}/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 {{ site.forkawesome.name }} icons just about anywhere using the CSS Prefix <code>fa</code> and the icon's
        name. Fork Awesome is designed to be used with inline elements (we like the <code>&lt;i&gt;</code> tag for
        brevity, but using a <code>&lt;span&gt;</code> is more semantically correct).
      </p>
{% highlight html %}
<i class="fa fa-camera-retro"></i> fa-camera-retro
{% endhighlight %}
      <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>