-2

How can add input properties to select also? Something wrong with this syntax.

.nestedContainerForContactForm {
    div {
        input {
            width: 100%;
        }
        &select {
            outline: none;
            -webkit-appearance: menulist-button;
        }
    }
}
jonrsharpe
  • 107,083
  • 22
  • 201
  • 376
János
  • 29,667
  • 30
  • 151
  • 300

1 Answers1

0

The most efficient way to write it would be like this:

.nestedContainerForContactForm {
  div {
    input,
    select {
      width: 100%;
    }
    select {
      outline: none;
      -webkit-appearance: menulist-button;
    }
  }
}
Sean
  • 6,038
  • 2
  • 19
  • 42