input: add numeric property (allows numeric values only and displays numeric keyboard on mobile devices)
This commit is contained in:
parent
ab6ea54528
commit
99cd75c83f
3 changed files with 22 additions and 3 deletions
|
|
@ -597,6 +597,16 @@
|
|||
color: var(--color-text);
|
||||
}
|
||||
|
||||
&::-webkit-outer-spin-button,
|
||||
&::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&[type="number"] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue