I have a specific customized dropdown menu using the styled-select
wrapper:
HTML:
<div class="styled-select">
<select name="example_length" aria-controls="example" class="">
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
</select>
</div>
CSS:
.styled-select {
background: url(http://i62.tinypic.com/15xvbd5.png) no-repeat 84% 0;
height: 29px;
overflow: hidden;
width: 70px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background-color: #1abc9c;
display: inline-block;
vertical-align: middle;
}
.styled-select select {
background: transparent;
border: none;
font-size: 14px;
color: #000;
height: 29px;
padding: 5px;
width: 90px;
}
I am attempting to change the color of the selected value in the dropdown menu (10 is initially shown as default) to white, while keeping other items in the dropdown dark.
To achieve this effect, I changed the color to white in the select
css, but it also made other items in the dropdown white, making them invisible when placed on a white background. If I change the background of the dropdown to a darker color, it overrides the color of the styled select box.
Any assistance would be greatly appreciated!