Q:

Sharing JavaFX css values across multiple classes

How can I share settings across multiple classes? I need to apply certain styles to my tableview cells (depending on the enum value displayed) and would prefer not to repeat the values as below - 
.A { 
    -fx-background-color: red;
}

.B { 
    -fx-background-color: red;
}

A:

You can apply rules to multiple selectors with 
.A, .B {
    -fx-background-color: red;
}

