cell-color
The background color of a table cell. To create alternating background colors, you could use alternate-row-color
or alternate-column-color
in addition.
Availability
Available in: Table Cell, Table
Type
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
}