grav-theme-disroot/css/fork-awesome/src/doc/_includes/examples/basic.html

1.7 KiB

Basic Icons
View LESS View SASS

Example: basic icon fa-camera-retro

You can place {{ site.forkawesome.name }} icons just about anywhere using the CSS Prefix fa and the icon's name. Fork Awesome is designed to be used with inline elements (we like the <i> tag for brevity, but using a <span> is more semantically correct).

{% highlight html %} fa-camera-retro {% endhighlight %}
  • Example: basic icon If you change the font-size of the icon's container, the icon gets bigger. Same things goes for color, drop shadow, and anything else that gets inherited using CSS.