Plain Jane - pink.css in Select with Style 7
/*
* Note: your browser may not support the markup you had in mind for your
* option lists. Firefox is generally good. In Chrome and Safari colours tend
* to work, but font styles are often ignored.
*/
.option-parent {
font-weight: bolder;
color: grey;
background-color: lightpink !important;
}
.option-child {
font-weight: normal;
color: grey !important;
background-color: white;
}
select.with-style option[selected="selected"] {
font-style: italic;
}
File
select_with_style/css/Plain Jane - pink.css
View source
-
- /*
- * Note: your browser may not support the markup you had in mind for your
- * option lists. Firefox is generally good. In Chrome and Safari colours tend
- * to work, but font styles are often ignored.
- */
- .option-parent {
- font-weight: bolder;
- color: grey;
- background-color: lightpink !important;
- }
- .option-child {
- font-weight: normal;
- color: grey !important;
- background-color: white;
- }
- select.with-style option[selected="selected"] {
- font-style: italic;
- }
-