Answers for "How to change color of button"

CSS
1

change button color html

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

javascript change color of button

document.getElementById("button").style.background='#000000';
Posted by: Guest on November-13-2020
1

change button color in html

.button_css
{
	background-color: black;
	color: white;
	width: 150px;
	height: 40px;
}
Posted by: Guest on June-19-2021

Code answers related to "How to change color of button"

Browse Popular Code Answers by Language