Ver código fonte

dice num input: max attr instead of size

Fabian Peter Hammerle 5 anos atrás
pai
commit
592426f36d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -89,7 +89,7 @@ footer a:hover {
 
 <p>
     dices
-    <input id="dice_num" type="number" min="1" size="2" value="6">
+    <input id="dice_num" type="number" min="1" max="32" value="6">
     <input type="button" onclick="decrement()" value="-">
     <input type="button" onclick="increment()" value="+">
     <input type="button" onclick="roll()" value="roll">