<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* Chrome, Safari, Edge, Opera */
input::outer-spin-button,
input::inner-spin-button {
appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
appearance: textfield;
}
</style>
</head>
<body>
<h2>Hide Input Number Arrows</h2>
<p><strong>Note:</strong> It is still possible to increment the number when you scroll inside the number input.</p>
<input type="number" value="5">
</body>
</html>