nth-col

The nth-col CSS pseudo-class represents a cell element belonging to a column that has An+B-1 columns before it, for any positive integer or zero value of n.

Syntax

selector:nth-col(An+B)
{
    property: value;
}

Examples

1 · An+B

2 · even

3 · odd

HomeMenu