Is it possible to achieve this? I attempted the following, but it's not working:
.myClass input[type=range]:hover > .myClass input[type=range]::-webkit-inner-spin-button{
opacity: 0;
}
.myClass input[type=range]:hover > input[type=range]::-webkit-inner-spin-button{
opacity: 0;
}
<div class="myClass">
<input type="number" value="1">
</div>
The issue is that the spin-buttons are still visible and cutting off the numbers in the input field even when their opacity is set to 0: