I would like to know how to change the text color of the button writing when I click on it, I want it to click on the button and it will turn out golden and stay white until I click it again, but what I managed so far is that it only change color when the mouse is on top. Here is the code that I have done so far: css:
#login{
@extend .table;
cursor:pointer;
position:relative;
width: 100%;
height: 79px;
#centralizar_menu{
@extend .row;
text-align: center;
height: 4.8em;}
&:hover{
#texto_cliente #titulo{
display: block!Important;
@extend .fonte_branca_13;
}
background-color: $dourado;
}
#texto_cliente{
width: 100%;
height: 1.5em;
padding: 0.5em 0em;
#titulo{
@extend .fonte_dourado_13;
}
}
}
HTML:
<div id="login">
<div id="centralizar_menu">
<div class="middle">
<div id="texto_cliente">
<div id="titulo">Login</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
</div>