I upgraded to Font Awesome 5 (FA 5) from version 4.7. The reason was the layered icons.
In FA 4.7, fa-stack
classes were used. In FA 5, fa-layers are much powerful.
The problem, as far as I see, fa-layers
are only implemented in pure js version of Font Awesome. (using fontawesome-all.js). If you want to use css version, you do not see fa-layers
class anywhere in folder structure (in the current version of 5.0.8). Is it possible to use fa-layers with css version of FA 5?
By css version I mean this:
<head>
<!--core first + styles last-->
<link href="/static/fontawesome/fontawesome-all.css" rel="stylesheet">
</head>
Bt Js version, I mean this:
<head>
<!--load everything-->
<script defer src="/static/fontawesome/fontawesome-all.js"></script>
</head>
Since fontawesome-all.js replaced all i tags to svg, css manipulation is difficult with this version. So, if css version has all the features that Js version has, I would like to us css version of FA 5.