May 2000
Intermediate to advanced
472 pages
14h 17m
English
:first-letter — IE4 N/N | IE5 N/Y | NN4 N/N | Op3 Y/-
Applies styles to the first letter of an element. This pseudo-class can be used to generate drop-cap effects, among other things.
P:first-letter {color: purple;}
<P>The capital 'T' at the beginning of this paragraph is purple.</P>n/a
n/a
yes
block
Read now
Unlock full access