Answers for "how to change button color on click html"

CSS
1

change button color html

.button {
  background-color: #4CAF50;
}
Posted by: Guest on May-07-2021
0

change the button color on click

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

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

Browse Popular Code Answers by Language