0

The controls are structured as follows :

Shell [class=Foo]
 - Composite
   - Button
   - Label
   - Combo
   - Composite
     - Section
   - Canvas

The way I can think of is

.Foo Composite,
.Foo Combo,
.Foo Section,
.Foo Canvas {
    background-color: #FF0000;
}

However, the exact type of Composite subclass may be unknown (But it must be under this shell), is it possible to have a uniform background colour for all Composite and its subclasses by using code like the following :

.Foo Composite {
    background-color: #FF0000;
}

Or other CSS code .

Bourbon_7
  • 161
  • 7

0 Answers0