You are here

Plain Jane - blue.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: lightblue !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 - blue.css
View source
  1. /*
  2. * Note: your browser may not support the markup you had in mind for your
  3. * option lists. Firefox is generally good. In Chrome and Safari colours tend
  4. * to work, but font styles are often ignored.
  5. */
  6. .option-parent {
  7. font-weight: bolder;
  8. color: grey;
  9. background-color: lightblue !important;
  10. }
  11. .option-child {
  12. font-weight: normal;
  13. color: grey !important;
  14. background-color: white;
  15. }
  16. select.with-style option[selected="selected"] {
  17. font-style: italic;
  18. }