mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-02-07 19:08:22 +08:00
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
|
<section id="basic">
|
||
|
<h2 class="page-header">Basic Icons</h2>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-md-3 col-sm-4">
|
||
|
<p>
|
||
|
<i class="fa fa-camera-retro"></i> fa-camera-retro
|
||
|
</p>
|
||
|
</div>
|
||
|
<div class="col-md-9 col-sm-8">
|
||
|
<p>
|
||
|
You can place Font Awesome icons just about anywhere using the CSS Prefix <code>fa</code> and the icon's
|
||
|
name. Font Awesome is designed to be used with inline elements (we like the <code><i></code> tag for
|
||
|
brevity, but using a <code><span></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"></i>
|
||
|
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>
|