In this video i will talk about Pseudo elements in CSS.
What are Pseudo-Elements?
A CSS pseudo-element is used to style specified parts of an element.
For example, it can be used to:
Style the first letter, or line, of an element
Insert content before, or after, the content of an element
The ::first-line pseudo-element is used to add a special style to the first line of a text.
The ::first-letter pseudo-element is used to add a special style to the first letter of a text.
The ::before pseudo-element can be used to insert some content before the content of an element.
The ::after pseudo-element can be used to insert some content after the content of an element.
The ::selection pseudo-element matches the portion of an element that is selected by a user.