In my experience with Font Awesome, you don't have to use <i>
.
You can add the icon class to a <div>
and it works just the same.
<div class="icon-github"></div>
You can also still put contents within the div like so:
In my experience with Font Awesome, you don't have to use <i>
.
You can add the icon class to a <div>
and it works just the same.
<div class="icon-github"></div>
You can also still put contents within the div like so: