The first-letter pseudo-element is used to create drop caps and other effects. The first letter of text within an assigned selector will be rendered according to the value assigned. A first-letter pseudo-element may be used in any
block-level element. For example:
P:first-letter { font-size: 300%; float: left } would create a drop cap three times the normal font size.
0 komentar
Posting Komentar