I am trying to get the up/down arrows to appear next to an input element with type="number" in Chrome on android. I've added CSS to give them opacity=1 but they still don't show up. They appear fine on desktop.
Asked
Active
Viewed 105 times
-1
-
Hey you can find the solution here https://stackoverflow.com/questions/25194631/is-it-possible-to-always-show-up-down-arrows-for-input-number – Anshu Jun 16 '20 at 17:22
-
as stated, I'm trying to get them to show on mobile. that answer does not work. – LEGEND383 Jun 16 '20 at 17:29
1 Answers
0
can you try this?
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
opacity: 1;
}

Red Baron
- 7,181
- 10
- 39
- 86
-
that's the code I used to set their opacity, but they still don't show – LEGEND383 Jun 16 '20 at 17:17
-
-
-
-
-