CSS Selector Level 4 » Column combination

The combination selector column represents the relationship (based only on the semantics of the document language) of a column element and a cell element which belongs to the column.

Syntax

Copy
E || F {
    /* declarations */
}

Example

Copy
col.class || td {
    background-color: blue;
}

The mentioned example would set the background-color of 3, 5 and 7 to blue.

Try example in CodePen

Browser support

Platform Chrome Firefox Safari Edge Internet Explorer Opera
Desktop No No No No No No
Mobile No No No No No No

Usage statistics (Alexa Top 1,250,000 sites)


Please wait a moment, the comments start loading now...
explorermozillachromesafariopera