Reputation: 6099
I need to be able to use font-awesome as HTML content.
So instead of using the :before
selector in css and doing something like this:
.wysihtml5-command.blockquote:before { content: "\f10d"; }
I need to actually use it inside HTML tags like this:
<a class="someclassWithFontawesomeAsFont">\f10d</a>
But this does not work.
Is there any way for me to achieve this?
Upvotes: 0
Views: 1121
Reputation: 5146
You need to put Font Awesome classes inside an <i>
tag
<a href=""><i class="fa fa-check"></i></a>
Upvotes: 1