Search within TutorialsPark

CSS Pseudo Class Selector ::first-letter

Selects the first letter of the text content

Definition and Notes.

1. The pseudo-element selector ::first-name selects the first-letter of the text Content.

2. Its used to distinguish or isolate the first letter of a text block, to create a "Drop Caps" effect.


CSS ::first-letterPseudo Class selector. internetexplorer safari firefox opera chrome

View in Splitscreen»


Note: The ::first-letter selects the first letter of all elements,if required make it more specific.

Related Examples.