How to modify CSS of a <select> dropdown?

250 Views Asked by At

I was wondering if there is any method to modify the style of the dropdown lists of a <select> tag?

Given the code (for example)

<select>
 <option>CSS</option>
 <option>HTML </option>
 <option>HTML 5</option>
</select>

Any css for <select> would only modify the box itself, but not the dropdown... The background color can be changed but beyond that, is it possible to perform a heavy customization? htmllion.com

I'd like to achieve bootstrap alike dropdown lists. w3schools.com

With shadows and a custom style. Is that possible?

1

There are 1 best solutions below

0
On

It's not possible to style the dropdown list of a html select. But you can build your own dropdown list or use a framework like bootstrap.