Q
Q
qwerty12ss2019-11-12 12:50:00
css
qwerty12ss, 2019-11-12 12:50:00

How to remove indent from text in select?

Greetings, please tell me how to remove the non-existent indent from the select, it is necessary that the text is pressed to the left edge, no matter how js or css.

<select
               name="nationality" id="nationality" class="signup__select signup__select--nationality">
                <option value="American" selected="selected">American</option>
                <option value="Russian">Russian</option>
                <option value="Briton">Briton</option>
                <option value="Chinese">Chinese</option>
              </select></li>


.signup__select {
  font-family: "worksans", "Arial", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
  color: #111;
  height: 23px;
  border: none;
  border-bottom: 1px solid #f2f2f2;
  padding: 0 0 6.33px 0;
}


For some reason, the image or link to the image cannot be inserted, htt ps://ibb(dot)co/x2gFw66

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2019-11-12
@qwerty12ss

Add to select styles

appearance: none;
-webkit-appearance: none;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question