1
I am developing a web application and I would like to move the mouse the icons change color and not show that line under the icons but the houver
doesn’t work.
HTML
<div class="header-fixed">
<div class="container">
<div class="row">
<div class="col-xs-4 col-sm-4 text-left">
<div class="icons_moveis"><a class="fa fa-home"></a></div>
</div>
<div class="col-xs-4 col-sm-4 text-center">
<div class="icons_moveis"><a class="fa fa-user"></a></div>
</div>
<div class="col-xs-4 col-sm-4 text-right">
<div class="icons_moveis"><a class="fa fa-shopping-cart"></a></div>
</div>
</div>
</div>
CSS
.icons_moveis:hover{
color: yellow;
}
Page with the icons in which when passing the mouse the icons was to turn yellow.
It’s possible it’s style overlay. You’ve tried it with
color: yellow !important;
? And thehover
was supposed to be for the<div>
which is what it is, or to the<a>
?– Isac
supposed to be for the <div> which is what is, or for the <a> not understood ?
– User1999
put color: Yellow ! Port; and did not work
– User1999
You are applying text color to
<div>
but the<a>
probably already has a color set in the style. So probably what you want to do is.icons_moveis a:hover {
. But it already depends a little on how you have your styles.– Isac