Answers for "html how to make a button that change the color when clicked"

3

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 "html how to make a button that change the color when clicked"

Browse Popular Code Answers by Language