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

An+B

even

odd

Internal

nth-col

External

World Wide Web Consortium (W3C)

Home Menu