1 Replies - 97 Views - Last Post: 08 December 2017 - 09:05 AM

#1 salv236  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 46
  • Joined: 04-January 15

changing select drop down color

Posted 08 December 2017 - 08:58 AM

I am trying to find a solution to style the color only on the drop down arrow within the select tag,
i inserted a class within the select tag and used a pseudo class as follows:

className:after{
color:#eee;
}

This is not working somehow, does anyone know how to only target the drop down arrow? Would i need to use
jquery?
Is This A Good Question/Topic? 0
  • +

Replies To: changing select drop down color

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 4140
  • View blog
  • Posts: 13,093
  • Joined: 08-June 10

Re: changing select drop down color

Posted 08 December 2017 - 09:05 AM

View Postsalv236, on 08 December 2017 - 04:58 PM, said:

I am trying to find a solution to style the color only on the drop down arrow within the select tag,

That's not possible with the default dropdown, as it is created by the browser and differs throughout browser and OS versions.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1