alternate-row-color

An alternate background color that should be applied on all cells in even numbered rows. Use cell-color to define the color of odd numbered rows. Overrides alternate-column-color.

Availability

Available in: Table Cell, Table

Type

Color

Default value

rgb(0,0,0)

Inherited

Yes.

Example

// Use a gray background and alternate it by row
table-cell {
   cell-color:           #fafafa
   alternate-row-color:  #fefefe
}