0
I have 2 buttons. I want one to be disabled and the other to be in effect Hover. When I do so below the two buttons are with effect.
How do I make the button that is disabled have no effect?
.btn-destaque{
padding: 25px 15px 25px 15px;
background-color: #7857a5;
color: white;
border: 1px solid #8c37ff;
}
.btn-destaque:disabled{
background-color: #b3a4c7;
cursor: not-allowed;
border: 1px solid #b3a4c7;
}
.btn-destaque:hover{
background-color: #8c37ff;
}
<button type="button" class="btn-destaque disabled" disabled="disabled">Teste</button>
<button type="button" class="btn-destaque">Teste</button>