I have 2 buttons. One I want to be disabled and the other is hover effect. When I do this way below the two buttons are hover 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>