Syntax
The syntax of pseudo-element is on the right: |
|
CSS classes can also be used with pseudo-element: |
|
first-line
pseudo-element is used to add special styles to the first line of the text in a selector:
first-line
pseudo-element can only be used with block-level elements.
The following properties apply to the first-line
pseudo-element:
|
|