How can I change the fill attribute of svg by doing hover
in element <a>
? As far as I have seen it can only be if the svg is explicitly declared, but I do not know if it is possible when it is in a selector ::after
.menuint-item {
background: #444;
}
.menuint-item li a{
color: #AAA !important;
display: block;
position:relative;
text-decoration: none;
font-family: "Oxygen";
font-size: 13px;
font-weight: 700;
}
.menuint-item li a:hover{
color: #F9C017 !important;
}
.menuint-item li a::after {
content: ' ';
background-image: url('http://drive.google.com/uc?export=view&id=0B0we2ZlPETdKVnJONWNLUF9iODQ');
float: right;
background-size: 14px 14px;
height: 14px;
width: 14px;
}
<ul class="menuint-item">
<li><a href="#">Programa</a></li>
<li><a href="#">Programa</a></li>
<li><a href="#">Programa</a></li>
<li><a href="#">Programa</a></li>
</ul>