| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,65 @@ |
| 1 |
+<section id="stacked"> |
|
| 2 |
+ <h2 class="page-header"> |
|
| 3 |
+ Stacked 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/stacked.less" class="text-muted padding-right">View LESS</a>
|
|
| 6 |
+ <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_stacked.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 |
+ <div class="margin-bottom"> |
|
| 12 |
+ <span class="fa-stack fa-lg" aria-hidden="true"> |
|
| 13 |
+ <i class="fa fa-square-o fa-stack-2x"></i> |
|
| 14 |
+ <i class="fa fa-twitter fa-stack-1x"></i> |
|
| 15 |
+ </span> |
|
| 16 |
+ fa-twitter on fa-square-o<br> |
|
| 17 |
+ <span class="fa-stack fa-lg" aria-hidden="true"> |
|
| 18 |
+ <i class="fa fa-circle fa-stack-2x"></i> |
|
| 19 |
+ <i class="fa fa-flag fa-stack-1x fa-inverse"></i> |
|
| 20 |
+ </span> |
|
| 21 |
+ fa-flag on fa-circle<br> |
|
| 22 |
+ <span class="fa-stack fa-lg" aria-hidden="true"> |
|
| 23 |
+ <i class="fa fa-square fa-stack-2x"></i> |
|
| 24 |
+ <i class="fa fa-terminal fa-stack-1x fa-inverse"></i> |
|
| 25 |
+ </span> |
|
| 26 |
+ fa-terminal on fa-square<br> |
|
| 27 |
+ <span class="fa-stack fa-lg" aria-hidden="true"> |
|
| 28 |
+ <i class="fa fa-camera fa-stack-1x"></i> |
|
| 29 |
+ <i class="fa fa-ban fa-stack-2x text-danger"></i> |
|
| 30 |
+ </span> |
|
| 31 |
+ fa-ban on fa-camera |
|
| 32 |
+ </div> |
|
| 33 |
+ </div> |
|
| 34 |
+ <div class="col-md-9 col-sm-8"> |
|
| 35 |
+ <p> |
|
| 36 |
+ To stack multiple icons, use the <code>fa-stack</code> class on the parent, the <code>fa-stack-1x</code> |
|
| 37 |
+ for the regularly sized icon, and <code>fa-stack-2x</code> for the larger icon. <code>fa-inverse</code> |
|
| 38 |
+ can be used as an alternative icon color. You can even throw <a href="#larger">larger icon</a> classes on the parent |
|
| 39 |
+ to get further control of sizing. |
|
| 40 |
+ </p> |
|
| 41 |
+{% highlight html %}
|
|
| 42 |
+<span class="fa-stack fa-lg"> |
|
| 43 |
+ <i class="fa fa-square-o fa-stack-2x"></i> |
|
| 44 |
+ <i class="fa fa-twitter fa-stack-1x"></i> |
|
| 45 |
+</span> |
|
| 46 |
+fa-twitter on fa-square-o<br> |
|
| 47 |
+<span class="fa-stack fa-lg"> |
|
| 48 |
+ <i class="fa fa-circle fa-stack-2x"></i> |
|
| 49 |
+ <i class="fa fa-flag fa-stack-1x fa-inverse"></i> |
|
| 50 |
+</span> |
|
| 51 |
+fa-flag on fa-circle<br> |
|
| 52 |
+<span class="fa-stack fa-lg"> |
|
| 53 |
+ <i class="fa fa-square fa-stack-2x"></i> |
|
| 54 |
+ <i class="fa fa-terminal fa-stack-1x fa-inverse"></i> |
|
| 55 |
+</span> |
|
| 56 |
+fa-terminal on fa-square<br> |
|
| 57 |
+<span class="fa-stack fa-lg"> |
|
| 58 |
+ <i class="fa fa-camera fa-stack-1x"></i> |
|
| 59 |
+ <i class="fa fa-ban fa-stack-2x text-danger"></i> |
|
| 60 |
+</span> |
|
| 61 |
+fa-ban on fa-camera |
|
| 62 |
+{% endhighlight %}
|
|
| 63 |
+ </div> |
|
| 64 |
+ </div> |
|
| 65 |
+</section> |