summaryrefslogtreecommitdiff
path: root/bower_components/font-awesome/src/_includes/examples/larger.html
blob: 8c5e24636c6958d1e40e59eb8a4c22ae6b38f577 (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
<section id="larger">
  <h2 class="page-header">Larger Icons</h2>
  <div class="row">
    <div class="col-md-3 col-sm-4">
      <p><i class="fa fa-camera-retro fa-lg"></i> fa-camera-retro</p>
      <p><i class="fa fa-camera-retro fa-2x"></i> fa-camera-retro</p>
      <p><i class="fa fa-camera-retro fa-3x"></i> fa-camera-retro</p>
      <p><i class="fa fa-camera-retro fa-4x"></i> fa-camera-retro</p>
      <p><i class="fa fa-camera-retro fa-5x"></i> fa-camera-retro</p>
    </div>
    <div class="col-md-9 col-sm-8">
      <p>
        To increase icon sizes relative to their container, use the <code>fa-lg</code> (33% increase), <code>fa-2x</code>,
        <code>fa-3x</code>, <code>fa-4x</code>, or <code>fa-5x</code> classes.
      </p>
{% highlight html %}
<p><i class="fa fa-camera-retro fa-lg"></i> fa-camera-retro</p>
<p><i class="fa fa-camera-retro fa-2x"></i> fa-camera-retro</p>
<p><i class="fa fa-camera-retro fa-3x"></i> fa-camera-retro</p>
<p><i class="fa fa-camera-retro fa-4x"></i> fa-camera-retro</p>
<p><i class="fa fa-camera-retro fa-5x"></i> fa-camera-retro</p>
{% endhighlight %}
      <div class="alert alert-success">
        <i class="fa fa-info-circle"></i> If your icons are getting chopped off on top and bottom, make sure you have
        sufficient line-height.
      </div>
    </div>
  </div>
</section>