basic.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <section id="basic">
  2. <h2 class="page-header">
  3. Basic 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/core.less" class="text-muted padding-right">View LESS</a>
  6. <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_core.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>
  12. <i class="fa fa-camera-retro"></i> fa-camera-retro
  13. </p>
  14. </div>
  15. <div class="col-md-9 col-sm-8">
  16. <p>
  17. You can place Font Awesome icons just about anywhere using the CSS Prefix <code>fa</code> and the icon's
  18. name. Font Awesome is designed to be used with inline elements (we like the <code>&lt;i&gt;</code> tag for
  19. brevity, but using a <code>&lt;span&gt;</code> is more semantically correct).
  20. </p>
  21. {% highlight html %}
  22. <i class="fa fa-camera-retro"></i> fa-camera-retro
  23. {% endhighlight %}
  24. <div class="alert alert-success">
  25. <ul class="fa-ul">
  26. <li>
  27. <i class="fa fa-info-circle fa-lg fa-li"></i>
  28. If you change the font-size of the icon's container, the icon gets bigger. Same things goes for color,
  29. drop shadow, and anything else that gets inherited using CSS.
  30. </li>
  31. </ul>
  32. </div>
  33. </div>
  34. </div>
  35. </section>