0

just wanted to make sure. Is there any chance I could be puttnig something like:

&::before{
content:"<span class='far fa-square'></span>"

I'd love for certain items to have some icons ::before but following the link from css-tricks there is no chance and I can only put it as an image or a string.

  • 1
    Possible duplicate of [Use FontAwesome or Glyphicons with css :before](https://stackoverflow.com/questions/11875088/use-fontawesome-or-glyphicons-with-css-before) – Stephen P Oct 02 '18 at 22:35

1 Answers1

0

The answer was in the font-awesome docs. Don't hate me.

Docs

The way to do it is to use the unicode.