select.list1 option.option2
{
background-color: #007700;
}
<select class="list1">
<option value="1">Option 1</option>
<option value="2" class="option2">Option 2</option>
</select>
More Related Contents:
- Why does HTML think “chucknorris” is a color?
- Change select box option background color
- Is it possible to have two background colors for a single html element? [duplicate]
- CSS ”background-color” attribute not working on checkbox inside
- Color of stacked semi-transparent boxes depends on order?
- problem with and :after with CSS in WebKit
- How to make an element’s background-color a little darker using CSS
- Options with display:none not hidden in IE
- How to indent multiple levels of select optgroup with CSS?
- HTML Multiselect Limit
- How to change font-family of drop down’s list item?
- How to change the text color of first select option
- Multiple select in Safari iOS 7
- Are there any style options for the HTML5 Date picker?
- Is it possible to update non-JSF components (plain HTML) with JSF ajax?
- Unskewing the ends of an assortment multiple skewed images
- How to align two elements on the same line without changing HTML
- Scroll to a specific Element Using html
- Remove border from buttons
- Google bot crawling on AngularJS site with HTML5 Mode routes
- How can I show dots (“…”) in a span with hidden overflow?
- How to horizontal & vertical center a div [duplicate]
- CSS Text underlining too long when letter-spacing is applied?
- Position fixed doesn’t work when using -webkit-transform
- How to auto-resize an image while maintaining aspect ratio
- css – inline elements ignoring line-height
- Apply Border-Radius To Scrollbars with CSS
- Export stored procedure result set to Excel in SSMS
- Share style across web components “of the same type”
- Photoshop Mock Up Font isn’t same as in HTML