0

I have been attempting without success to hide the spinner in number input fields for a single field using LESS.

I have been referring to the following SO Post: Post

I have tried the following with both the input-wrapper class and the class I have assigned to the input itself without any success.

.input-wrapper {

  input[type=number]::-webkit-outer-spin-button,
  input[type=number]::-webkit-inner-spin-button {
      -webkit-appearance: none;
       margin: 0;
  }

  input[type=number] {
      -moz-appearance:textfield;
  } 
}

Does anyone have any idea of how to do this?

j08691
  • 204,283
  • 31
  • 260
  • 272
NewDev
  • 81
  • 6
  • What structure are you trying to match? Where is that classname? – SLaks Nov 07 '17 at 19:14
  • @SLaks Well that is actually functioning I just had a separate error in my markup that was hard to spot, thank you though! – NewDev Nov 07 '17 at 19:46
  • Possible duplicate of [Hide Spinner in Input Number - Firefox 29](https://stackoverflow.com/questions/23372903/hide-spinner-in-input-number-firefox-29) – 3rdthemagical Nov 08 '17 at 14:03

0 Answers0