0

I need to change the blue color to red for mouse hover on HTML select dropdown component:

see the image enter image description here

<select>
        <option>Apple</option>
        <option>Orange</option>
        <option>Berry</option>
</select>
  • thats done by the browser. you'll have to use a custom component. most css solutions won't universally work. – Daniel A. White Jan 09 '22 at 19:11
  • 1
    If that's important to you, you can use alternates to `` like select2 https://select2.org/appearance or bootstrap dropdown menus - both of those allow you to style the appearance – Kinglish Jan 09 '22 at 20:49
  • I will try select2 – Zeyad Habbab Jan 10 '22 at 08:55
  • I used select2 , it is a very good solution also it is clone all events listeners – Zeyad Habbab Jan 14 '22 at 18:27
  • Welcome to the comunity. Please notice this question has already been answered here: https://stackoverflow.com/questions/19388011/how-to-change-colour-of-blue-highlight-on-select-box-dropdown – Òscar Raya Jan 17 '22 at 14:35

0 Answers0