Search within TutorialsPark

CSS Pseudo Class Selector ::first-line

Selects the first line of the text content

Definition and Notes.

1. CSS Pseudo Element ::first-line selects the first line of of the specified text block.


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

View in Splitscreen»


Note:If the window size is changed then the browser will find what the first line is, again.

Related Examples.