Answers for "change css of button on click"

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 "change css of button on click"

Browse Popular Code Answers by Language