javascript - How to modify the style of select in html, and change the option style when the mouse is hovering. Is there any plug-in?
过去多啦不再A梦
过去多啦不再A梦 2017-05-31 10:41:59
0
4
1364

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.

过去多啦不再A梦
过去多啦不再A梦

reply all(4)
漂亮男人

Use F12, check the dom, elements and you will know how to write hover

Peter_Zhu

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

Ty80

Then you can try other third-party plug-ins such as xeditable

阿神

bootstrap-select will convert the option style into
<ul>

<li></li>
<li></li>
<li></li> 

</ul>

Just set a :hover css style for li

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template