CSS Pseudo-element ::first-line
Creates
A pseudo-element that contains the first line of the selected element.
Description
This selector is used to select the first linke of an element, regardless of its length.
:first-line can only be used for block-elements. The style-options of :first-line are limited.
Examples
Compatibility
| Chrome | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|
| All | All | 5.5+ | 3.5+ | All |