CSS: Pseudo-Element Selectors

By Xah Lee. Date: . Last updated: .

These allow you to select Pseudo Elements.

tag::first-letter

the first letter of a tag element. 〔see CSS: First Letter

tag::first-line

the first rendered line of a tag element. 〔see CSS: First Line

tag::before

insert content before a tag element. 〔see CSS: Insert Content Before or After Element

tag::after

insert content after a tag element. 〔see CSS: Insert Content Before or After Element

CSS, pseudo-element and pseudo-class

CSS, Selectors