Answers for "change color button on click of that button"

3

how change button color in html

<!DOCTYPE html>
<html>
 <body>
  <button style="background-color:red; border-color:blue; color:white">Button 
  Text</button>
 </body>
</html>
Posted by: Guest on October-21-2021
0

change the button color on click

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

Code answers related to "change color button on click of that button"

Browse Popular Code Answers by Language