Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove white background for select option in Chrome?

Tags:

css

Here an example http://jsfiddle.net/h6PLV/ background:none;

On Google Chrome have white color around the select option. In Firefox looks great.

How do I remove the white color on Chrome browser?

like image 984
Unknown Error Avatar asked Feb 21 '12 19:02

Unknown Error


People also ask

How do I change the color of a selection dropdown?

To change the selected option color of the menu, the “:checked” selector of CSS is used. :checked is a pseudo-class element that can be only linked with input type elements, such as “option”, “checkbox”, and “radio buttons”. It is mainly used to change the behavior of the selected value of these elements.

How can I remove white background color?

Select the picture that you want to remove the background from. On the toolbar, select Picture Format > Remove Background, or Format > Remove Background. If you don't see Remove Background, make sure you have selected a picture. You might have to double-click the picture to select it and open the Picture Format tab.


1 Answers

Add -webkit-appearance: none;

.inputtxt {
    border:0;
    background:none;
    -webkit-appearance: none;
}

jsFiddle example

like image 116
j08691 Avatar answered Sep 21 '22 18:09

j08691