Reputation: 221
Is there a way to make css icons like Font Awesome (or any other CSS icons) have 2 colors?
I know they are fonts so the color can be changed by something like style='color: red;'
, but is there a way to use 2 colors for the icons like an accent color and a main color?
Upvotes: 2
Views: 1742
Reputation: 1868
The only options you have are,
You can use text-shadow to give it a different colored shadow or stroke.
You would need to use svg icons to control the path colors.
Upvotes: 1