• 1
    take a look at this article : [jQuery Select CSS Style](http://www.1stwebmagazine.com/jquery-select-css-style) – Farshad Sep 01 '14 at 06:00
  • Is there have any solution for this question? – Nivitha G Nov 07 '17 at 07:35
  • 2 Answers2

    0

    I'm not sure you can really change this with pure css. this is browser / operating system defined colors. You can do something a little hackier and make a custom dropdown using divs. or maybe you can find some javascript library to handle this..

    hamobi
    • 7,940
    • 4
    • 35
    • 64
    0

    I doubt there is something for the option highlight you're specifically asking for.

    Turns out there are multiple questions like this all over SO, although here is a good explanation by this one:

    Well you cannot change the hover color of select option as it is rendered by Operating System instead of HTML

    Community
    • 1
    • 1
    TheGeekZn
    • 3,696
    • 10
    • 55
    • 91
    • 1
      "*highlight background to green*" the questioner asked nothing of the background color – Brian Dillingham Sep 01 '14 at 05:43
    • 1
      Okay - And I amended my answer to something that's worded right. I gave an option for a more customized style, and then some additional information saying you *can't* infact do what is specifically asked. – TheGeekZn Sep 01 '14 at 05:45
    • @Brian I apologise for you having a bad day - However I provided context AND code snippets. Please go be mean somewhere else? – TheGeekZn Sep 01 '14 at 05:52
    • Im sorry you're taking it as me having a bad day. Nothing personal, it's just not helpful to have the only valid aspect of your answer be a link to another question. – Brian Dillingham Sep 01 '14 at 05:54
    • I realise I could of only said "Well you cannot change the hover color of select option as it is rendered by Operating System instead of HTML" - However I decided to link back to the original question for historical context, AND add an additional bit of information for some customization based on an assumption of what OP asked. I don't see how " a link to another question" could be the only valid thing. – TheGeekZn Sep 01 '14 at 05:56