34 lines
1.9 KiB
HTML
Executable File
34 lines
1.9 KiB
HTML
Executable File
<section id="fixed-width">
|
|
<h2 class="page-header">
|
|
Fixed Width 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/fixed-width.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/_fixed-width.scss" class="text-muted">View SASS</a>
|
|
</div>
|
|
</h2>
|
|
<div class="row">
|
|
<div class="col-md-3 col-sm-4">
|
|
<div class="list-group">
|
|
<a class="list-group-item" href="#"><i class="fa fa-home fa-fw" aria-hidden="true"></i> Home</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-book fa-fw" aria-hidden="true"></i> Library</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> Applications</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> Settings</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9 col-sm-8">
|
|
<p>
|
|
Use <code>fa-fw</code> to set icons at a fixed width. Great to use when different icon widths throw off alignment.
|
|
Especially useful in things like nav lists & list groups.
|
|
</p>
|
|
{% highlight html %}
|
|
<div class="list-group">
|
|
<a class="list-group-item" href="#"><i class="fa fa-home fa-fw" aria-hidden="true"></i> Home</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-book fa-fw" aria-hidden="true"></i> Library</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> Applications</a>
|
|
<a class="list-group-item" href="#"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> Settings</a>
|
|
</div>
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
</section>
|