Category: HTML

Solve scroll in form type number bug in Chrome / Firefox

Solve scroll in form type number bug in Chrome / Firefox

Using form with type=”number” is great. But, the scroll seems annoying. Here is to avoid this issue using css : 123456789101112131415161718/* Fix input type number scroll */ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {     /* display: none; <- Crashes Chrome on hover */     -webkit-appearance: none;     margin: 0; /* <– Apparently some margin are …

+ Read More