change input number style

This commit is contained in:
Vick Scarlet
2021-09-20 23:14:03 +08:00
parent aa84c5f8a2
commit 70b6129c6e
2 changed files with 16 additions and 0 deletions

View File

@ -48,6 +48,14 @@
padding: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
html {
background-color: #222831;
font-family: PingFangSC, 'Noto Sans CJK SC', 'MS Yahei';

View File

@ -48,6 +48,14 @@
padding: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
html {
font-family: PingFangSC, 'Noto Sans CJK SC', 'MS Yahei';
}