Neither
option {
padding: 10px;
}
nor
option {
height: 30px;
}
nor
option {
line-height: 30px;
}
works. Can that be real at the end of 2015? If it really does not work however, how can I do that with VanillaJS ?
Neither
option {
padding: 10px;
}
nor
option {
height: 30px;
}
nor
option {
line-height: 30px;
}
works. Can that be real at the end of 2015? If it really does not work however, how can I do that with VanillaJS ?
Nope, sorry. Whilst you can style the <select>
element, you can't style <option>
elements in Chrome (other than a few properties on the font - note currently you can't style the weight either)