diff options
Diffstat (limited to 'snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/stacked.html')
-rw-r--r-- | snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/stacked.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/stacked.html b/snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/stacked.html new file mode 100644 index 0000000..65b3603 --- /dev/null +++ b/snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/stacked.html @@ -0,0 +1,65 @@ +<section id="stacked"> + <h2 class="page-header"> + Stacked 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/stacked.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/_stacked.scss" class="text-muted">View SASS</a> + </div> + </h2> + <div class="row"> + <div class="col-md-3 col-sm-4"> + <div class="margin-bottom"> + <span class="fa-stack fa-lg" aria-hidden="true"> + <i class="fa fa-square-o fa-stack-2x"></i> + <i class="fa fa-twitter fa-stack-1x"></i> + </span> + fa-twitter on fa-square-o<br> + <span class="fa-stack fa-lg" aria-hidden="true"> + <i class="fa fa-circle fa-stack-2x"></i> + <i class="fa fa-flag fa-stack-1x fa-inverse"></i> + </span> + fa-flag on fa-circle<br> + <span class="fa-stack fa-lg" aria-hidden="true"> + <i class="fa fa-square fa-stack-2x"></i> + <i class="fa fa-terminal fa-stack-1x fa-inverse"></i> + </span> + fa-terminal on fa-square<br> + <span class="fa-stack fa-lg" aria-hidden="true"> + <i class="fa fa-camera fa-stack-1x"></i> + <i class="fa fa-ban fa-stack-2x text-danger"></i> + </span> + fa-ban on fa-camera + </div> + </div> + <div class="col-md-9 col-sm-8"> + <p> + To stack multiple icons, use the <code>fa-stack</code> class on the parent, the <code>fa-stack-1x</code> + for the regularly sized icon, and <code>fa-stack-2x</code> for the larger icon. <code>fa-inverse</code> + can be used as an alternative icon color. You can even throw <a href="#larger">larger icon</a> classes on the parent + to get further control of sizing. + </p> +{% highlight html %} +<span class="fa-stack fa-lg"> + <i class="fa fa-square-o fa-stack-2x"></i> + <i class="fa fa-twitter fa-stack-1x"></i> +</span> +fa-twitter on fa-square-o<br> +<span class="fa-stack fa-lg"> + <i class="fa fa-circle fa-stack-2x"></i> + <i class="fa fa-flag fa-stack-1x fa-inverse"></i> +</span> +fa-flag on fa-circle<br> +<span class="fa-stack fa-lg"> + <i class="fa fa-square fa-stack-2x"></i> + <i class="fa fa-terminal fa-stack-1x fa-inverse"></i> +</span> +fa-terminal on fa-square<br> +<span class="fa-stack fa-lg"> + <i class="fa fa-camera fa-stack-1x"></i> + <i class="fa fa-ban fa-stack-2x text-danger"></i> +</span> +fa-ban on fa-camera +{% endhighlight %} + </div> + </div> +</section> |