| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,40 @@ |
| 1 |
+<section id="larger"> |
|
| 2 |
+ <h2 class="page-header"> |
|
| 3 |
+ Larger Icons |
|
| 4 |
+ <div class="pull-right text-default margin-top padding-top-sm hidden-xs"> |
|
| 5 |
+ <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/less/larger.less" class="text-muted padding-right">View LESS</a>
|
|
| 6 |
+ <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_larger.scss" class="text-muted">View SASS</a>
|
|
| 7 |
+ </div> |
|
| 8 |
+ </h2> |
|
| 9 |
+ <div class="row"> |
|
| 10 |
+ <div class="col-md-3 col-sm-4"> |
|
| 11 |
+ <p><i class="fa fa-camera-retro fa-lg" aria-hidden="true"></i> fa-lg</p> |
|
| 12 |
+ <p><i class="fa fa-camera-retro fa-2x" aria-hidden="true"></i> fa-2x</p> |
|
| 13 |
+ <p><i class="fa fa-camera-retro fa-3x" aria-hidden="true"></i> fa-3x</p> |
|
| 14 |
+ <p><i class="fa fa-camera-retro fa-4x" aria-hidden="true"></i> fa-4x</p> |
|
| 15 |
+ <p><i class="fa fa-camera-retro fa-5x" aria-hidden="true"></i> fa-5x</p> |
|
| 16 |
+ </div> |
|
| 17 |
+ <div class="col-md-9 col-sm-8"> |
|
| 18 |
+ <p> |
|
| 19 |
+ To increase icon sizes relative to their container, use the <code>fa-lg</code> (33% increase), <code>fa-2x</code>, |
|
| 20 |
+ <code>fa-3x</code>, <code>fa-4x</code>, or <code>fa-5x</code> classes. |
|
| 21 |
+ </p> |
|
| 22 |
+{% highlight html %}
|
|
| 23 |
+<i class="fa fa-camera-retro fa-lg"></i> fa-lg |
|
| 24 |
+<i class="fa fa-camera-retro fa-2x"></i> fa-2x |
|
| 25 |
+<i class="fa fa-camera-retro fa-3x"></i> fa-3x |
|
| 26 |
+<i class="fa fa-camera-retro fa-4x"></i> fa-4x |
|
| 27 |
+<i class="fa fa-camera-retro fa-5x"></i> fa-5x |
|
| 28 |
+{% endhighlight %}
|
|
| 29 |
+ <div class="alert alert-success"> |
|
| 30 |
+ <ul class="fa-ul"> |
|
| 31 |
+ <li> |
|
| 32 |
+ <i class="fa fa-exclamation-triangle fa-li fa-lg"></i> |
|
| 33 |
+ If your icons are getting chopped off on top and bottom, make sure you have |
|
| 34 |
+ sufficient line-height. |
|
| 35 |
+ </li> |
|
| 36 |
+ </ul> |
|
| 37 |
+ </div> |
|
| 38 |
+ </div> |
|
| 39 |
+ </div> |
|
| 40 |
+</section> |