In font awesome 4 you could easily apply an icon to a :before/:after element using CSS.
Is the same possible with the new font awesome 5 JS/SVG implementation? As fr
You need to enable it (it's disabled by default).
Css:
.class:before{ display: none; content: "\f16c"; font-family: "Font Awesome 5 Brands"; }
Other types: Font Awesome 5 + Solid or Regular or Light or Brands