RWT Theming Reference > Composite

## Composite

The theming of RWT Composite.

### Available CSS Properties

Properties that can be defined for this element:

- animation

  Animation that is triggered on emergence and disappearance of a Composite. Supported animation types are "slideIn", "slideOut", "fadeIn", "fadeOut", "flyInTop", "flyInBottom", "flyInRight", "flyInLeft", "flyOutTop", "flyOutBottom", "flyOutRight, "flyOutLeft".

- background-color

  The background color for composites.

- background-image

  Background image or gradient for composites.

- border

  The border that is drawn around the composite.

- border-radius

  Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.

- box-shadow

  The shadow behind the composite.

- opacity

  The opacity of the composite. A value between 0 and 1.

- padding

  Padding (inner distance) for composites.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [BORDER]

  Style constant for bordered behavior.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :hover

  Applies while the user hovers over a composite.