A CSS pseudo-element is a keyword added to a selector that lets you style a specific part of the selected element. CSS pseudo-elements are used to add special effects to some selectors. There are different pseudo-elements which include ::first-child,...

Markdown supported · ⌘↵ to post
I thought I knew it all concerning the before and after pseudo-elements, thanks for sharing.
Your explanations is very comprehensive and at same time straight to the point. 🙌
Ahemen Jehoshaphat
Learner.. Excellence..
I just got to know how pseudo-elements work. Thank you.