Answers for "button color change after click on button click html"

CSS
14

css onclick change color

<style>
.dabutton:focus {
    background-color:yellow;
}
</style>
<button class="dabutton"></button> // <-- usage
Posted by: Guest on July-03-2020
0

change the button color on click

button:active{
  background-color:green;
}
Posted by: Guest on August-16-2021

Code answers related to "button color change after click on button click html"

Browse Popular Code Answers by Language