2013-05-09 09:24:41 +08:00
|
|
|
<section id="larger-icons">
|
|
|
|
<h2 class="page-header">Larger Icons</h2>
|
|
|
|
<div class="row">
|
2013-10-06 22:46:50 +08:00
|
|
|
<div class="col-md-3 col-sm-4">
|
2013-05-09 09:24:41 +08:00
|
|
|
<p>
|
2013-10-21 07:12:13 +08:00
|
|
|
To increase the size of icons relative to its container, use <code>fa-lg</code>, <code>fa-2x</code>,
|
|
|
|
<code>fa-3x</code>, or <code>fa-4x</code>.
|
2013-05-09 09:24:41 +08:00
|
|
|
</p>
|
|
|
|
</div>
|
2013-10-06 22:46:50 +08:00
|
|
|
<div class="col-md-9 col-sm-8">
|
2013-05-09 09:24:41 +08:00
|
|
|
<p>
|
2013-10-21 07:12:13 +08:00
|
|
|
Increase the icon size by using the <code>fa-lg</code> (33% increase), <code>fa-2x</code>,
|
|
|
|
<code>fa-3x</code>, or <code>fa-4x</code> classes.
|
2013-05-09 09:24:41 +08:00
|
|
|
</p>
|
|
|
|
<div class="well well-transparent">
|
|
|
|
<div style="font-size: 24px; line-height: 1.5em;">
|
2013-10-21 07:12:13 +08:00
|
|
|
<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>
|
2013-05-09 09:24:41 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-05-24 01:14:14 +08:00
|
|
|
{% highlight html %}
|
2013-10-21 07:12:13 +08:00
|
|
|
<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>
|
2013-05-09 09:24:41 +08:00
|
|
|
{% endhighlight %}
|
2013-10-20 03:39:26 +08:00
|
|
|
<div class="alert alert-success">
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-info-circle"></i> If your icons are getting chopped off on top and bottom, make sure you have
|
2013-05-09 09:24:41 +08:00
|
|
|
sufficient line-height.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|