HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

nth-last-col

Description

The nth-last-col pseudo-class for CSS 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 · CSS · An+B

2 · CSS · even

3 · CSS · odd

4 · JS · An+B

5 · JS · even

6 · JS · odd