-1

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.

TylerH
  • 20,799
  • 66
  • 75
  • 101
LEGEND383
  • 101
  • 3
  • 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 Answers1

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