Now we need to add an icon to the drop-down box. The code is as follows
<select class="selectpicker show-tick"> <option class="icon-heart" value="icon-heart"> icon-heart</option> <option class="icon-star" value="icon-star"> icon-star</option> <option class="icon-film" value="icon-film"> icon-film</option> <option class="icon-file" value="icon-file"> icon-file</option> </select>
I have solved this problem. The solution is to add a color to the font of the drop-down box
<style type="text/css"> .special { color: #808080 !important; }</style>
The poster here Is it the rhythm of asking and answering questions? It is also very easy to implement without controls.
Is this the time for the poster to ask and answer his own questions? It is also very easy to implement without controls.
js mouse events can be solved