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

nth-col

Description

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

2 · CSS · even

3 · CSS · odd

4 · JS · An+B

5 · JS · even

6 · JS · odd

nth-last-col

active

any-link

autofill

blank

checked

default

defined

dir

disabled

empty

enabled

first-child

first-of-type

focus

focus-visible

focus-within

fullscreen

has

hover

in-range

indeterminate

invalid

is

lang

last-child

last-of-type

link

local-link

modal

not

nth-child

nth-last-child

nth-last-col

nth-last-of-type

nth-of-type

only-child

only-of-type

optional

out-of-range

picture-in-picture

placeholder-shown

popover-open

read-only

read-write

required

root

scope

target

valid

visited

where

World Wide Web Consortium (W3C)

HomeMenu