Menu Home

Pseudo-Elements

osbo.com | CSS | Pseudo-Elements

Pseudo-Elements are portions of an element that can be selected and styled.

Syntax

::pseudo-element

Examples

after

before

first-letter

first-line

marker

placeholder

selection