0

I can't change the size of my input button. Can anyone explain why?

#reset{
    width: 200px;
    height: 100px;
}
<input id="reset" type="button" value="Reset">

JSFiddle

Stickers
  • 75,527
  • 23
  • 147
  • 186
hackrnaut
  • 581
  • 5
  • 20

1 Answers1

3

By default the styling of input elements would be based on the user's operating system's theme. You have to override that with the following to remove the defaults.

input[type="button"]{
 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
}

Fiddle: http://jsfiddle.net/rxa60aj6/1/

gopalraju
  • 2,299
  • 1
  • 12
  • 15