Answers for "button background color 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
7

elevated button background color

ElevatedButton(
  style: ButtonStyle(
    backgroundColor: MaterialStateProperty.resolveWith<Color>(
      (Set<MaterialState> states) {
        if (states.contains(MaterialState.pressed))
          return Colors.green;
        return null; // Use the component's default.
      },
    ),
  ),
)
Posted by: Guest on March-05-2021
1

html change button color

.button {
	background-color: #A62773; /*Color Code*/
}
Posted by: Guest on May-22-2021

Code answers related to "button background color html"

Browse Popular Code Answers by Language