Jerley Garcia Jerley Garcia - 1 month ago 6
CSS Question

CSS style on Input not working

I have these codes and the styles are not working.
Please any clue?

HTML

<input class="button" type="button" onclick="bet_player()" value="Click to Start Betting"></input>


CSS

.button {
border-style: solid;
border-color: #000;
width: 150px;
height: 80px;
background-color: red;
}

Answer

Your CSS is invalid:

#p1cash, #p2cash {
  font-size: 22px;
  font-weight: bold;
  color: #000000;
**)** --- here should be }

and there is no font-color property - it's just color

DEMO