Issue
I checked mobile device resolutions according to all device for my select element and i have only one select element on my views, but on the phone it seems like muted.
- (not worked) I tried this code:
select { background-color: #2e70be !important;enter code here }
- (not worked) http://websafecolors.info/ - i used different color from this website because of safe colors.
I need to set same color for mobile devices.
from first image laptom mobile resolution
Solution
Different browsers style select inputs their own way. In order to remove this styling you can use -webkit-appearance: none;
select {
-webkit-appearance: none;
background-color: #2e70be;
border: none;
}
<select>
<option>test </option>
</select>
Answered By - dantheman
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.