I can't get FontAwesome icons to work. I linked it in the head
with:
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
My website has https
protocol so that shouldn't be an issue.
I used it in my html like so:
<i class="fas fa-user"></i>
However I can only get them to work when I insert these in my styles this way:
.fa-user:before, .fa-user:after {
font-family: fontAwesome;
position: absolute;
top: 0;
left: 0;
width: 50px;
height: 100%;
}
.fas .fa-user:before,
.fas .fa-user:after {
content: '\f007';
}
Could you help me figure it out ?