I'm trying to fill a fontawesome icon with a linear gradient, when hovered
<button class="vignet_like">
<i class="far fa-heart heart_icon"></i>
</button>
With
.heart_icon:hover { linear-gradient (95deg, lightgreen 0%, lightblue 100%); }
I obviously got a squared background ; I want the background only inside icon.
I tried different approachs with no succes, so before going to work on SVGs, i wanted to know if there is a solution using CSS