0
Good morning, everyone. I have the following HTML code:
<li>
<a href="../navbar/" class="navbar-top user-color">
<span class="glyphicon glyphicon-user gly-user" aria-hidden="true"></span> ENTRAR</a>
</li>
And the following CSS code:
.gly-user {
border: 2px solid rgb(35, 220, 97);
padding: 0.6em;
border-radius: 25px;
margin-right: 8px;
color: #23DC61;
}
As I do, so that when passing the mouse over the "link" enter, both the color of the icon and its border turn green and at the same time the word enter also turn green. Also, how to do to when removing the mouse, both go back to the "normal state" (initial), the icon with the color and white border and the text with the white color?
Thank you!