Hello I would like to know how I can select the SVG inside span and change it's color on hover.
My svg is called from another style inside span:
<a href="#"><div><span class=icon over"></span></div></a>
What I am trying to do is something like this:
a:hover > div > span { fill: #fff; }
But it is not working on the SVG. on the actual span it is working with other property.
So the question is how I can change the color of the SVG which is called with another style which contains svg inside the span element.
SVG Code:
.icon{
background: url(../img/sprite.view.svg) no-repeat;
display: inline-block;
text-indent: -9000px;
white-space: nowrap;
}
.over {
background-position: 80.45977011494253% 26.016260162601625%;
width: 32px;
height: 32px;
}