MLCLOUD MLCLOUD -5 years ago 275
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:

Answer Source

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">


.myButtons { background-color:green }

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download