I have file with star in SVG format. How to make border of that figure(not entire square with that star) using css? Also, how make fill that image on hover effect?
I tried to add in html:
<i class="favorite"></i>
and in scss:
.favorite {
width: 17px;
height: 16px;
display: block;
text-indent: -9999px;
background-size: 17px 16px;
background: url(../../../../../assets/images/icon-star.
}
But I dont see anything. When i change background-color to for example red I see white star on red square. How to make it work?