In Angular If I use font: inherit style on my component fonts stop working and appear as ▢
app.component.html
<i class="fas fa-car"></i>
app.component.css
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css");
i {
font: inherit;
}
Stackblitz: Angular Example
I thought I was breaking something within the font awesome library but surprisingly the exact same markup with raw HTML/CSS works fine
<head>
<style>
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css");
i {
font: inherit;
}
</style>
</head>
<body>
<i class="fas fa-car"></i>
</body>