MLCLOUD MLCLOUD - 5 months ago 23
CSS Question

How to style buttons for calculator HTML

Using your help, I styled the number buttons, but I want to make the +, -, * the color red

Code at: https://ghostbin.com/paste/68w8d

Answer

To select the <input type = button> you can use this code to set a background color

input[type=button] { background-color:green }

With this you can also set width /height anything you want. OR you can give them all a class and style by class.

<input type="button" class="myButtons">

css:

.myButtons { background-color:green }