Moh*_*aji 10 css html5 html-input css3
而不是总是可以显示输入"数字"的向上/向下箭头?,我希望能够使箭头更大更清洁.
我现在拥有的: 
我需要让它们像这样大: 
你可以将输入包装在元素中并对其进行样式化
div {
display: inline-block;
position: Relative;
border: 2px solid grey;
border-radius: 10px;
overflow: hidden;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
div:before,
div:after {
background: white;
right: 0px;
width: 30px;
height: 20%;
position: absolute;
pointer-events: none;
}
div:before {
content: '';
bottom: 50%;
background: url(http://cdn.flaticon.com/png/256/22205.png) no-repeat white;
background-size: 20px;
background-position: center;
}
div:after {
content: '';
top: 50%;
background: url(http://cdn.flaticon.com/png/256/22205.png) no-repeat white;
background-size: 20px;
transform: rotate(180deg);
background-position: center;
}
input {
height: 80PX;
font-size: 50px;
outline: 0;
border: 0;
}Run Code Online (Sandbox Code Playgroud)
<div>
<input type="number" value="10" />
</div>Run Code Online (Sandbox Code Playgroud)