Skip to content

CSS code snippet – How to disable increase descrease buttons of input type number in html?

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
See also  PHP code snippet - How to create table for every user in laravel?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.