My dropdown menu has been styled with an image, but when a user selects an option it turns blue. Unfortunately, the blue color shows on top of the image and looks unattractive. Is there a way to prevent this behavior using CSS? I want to maintain the selected state without changing its color.
I am considering using something like this:
select:active {
background: transparent;
}
If necessary, I am also open to implementing a JavaScript solution.