EN
CSS - remove default arrow icon from select HTML element
9 points
In this short article, we would like to show how to remove default arrow icon from select HTML element using CSS.
Quick solution:
xxxxxxxxxx
1
<style>
2
3
select {
4
appearance: none; /* removes expand icon in older Chrome versions */
5
appearance: none; /* removes expand icon in older Firefox versions */
6
appearance: none; /* removes expand icon */
7
}
8
9
select::expand { /* removes expand icon in IE10 */
10
display: none;
11
}
12
13
</style>
14
15
<select>
16
<option>New York</option>
17
<option>London</option>
18
<option>Tokyo</option>
19
</select>