I checked that there are select2 and bootstrap-select plug-ins, but they don’t have the function of changing the style by floating. Please give me some advice.
Use F12, check the dom, elements and you will know how to write hover
If you have too many requirements, you can only simulate it yourself, use
<p>
<li></li>
<li></li>
<li></li>
</p>
With this structure, you can play however you want
bootstrap-select will convert the option style into
<ul>
<li></li>
<li></li>
<li></li>
</ul>
Just set a :hover css style for li