Answers for "how to add colour to a button in html"

CSS
2

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
1

change button color html

.button {
  background-color: #4CAF50;
}
Posted by: Guest on May-07-2021
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 add colour to a button in html"

Browse Popular Code Answers by Language