nth-last-col

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

Syntax

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

Examples

1 · An+B

2 · even

3 · odd

HomeMenu