I've been using Bootstrap buttons and I decided to change the color of one. However, when I clicked the button, it still changed to blue even though I specified ".btn-primary:active".
HTML:
<button type="button" class="btn btn-primary">My Button</button>
CSS:
.btn-primary {
background-color: #ffa500;
border: 1px solid #e39400;
}
.btn-primary:hover {
background-color: #e39400;
border: 1px solid #e39400;
}
.btn-primary:active {
background-color: #e39400;
border: 1px solid #e39400;
}