Free Coding Ebook 👉 Get Now
What Is Pseudo Elements In Css? Pseudo Elements Css
Being a developer you must have come across the term Pseudo Elements, these are a handful of majorly used tools of CSS. It is usually defined as a keyword combined with a selector which delineates the special state of the selected elements.
Let’s take a further look at how these pseudo-elements are used.
Commonly used Pseudo Elements
Note: Do not confuse pseudo classes with the pseudo elements. Main difference between Pseudo classes(like ‘:hover’) and Pseudo elements (like ‘::before’) is no. of colons.
1. ::after pseudo-element –
2. ::before pseudo element –
3. ::first-line pseudo element –
4. ::first-letter pseudo element –
5. ::selection pseudo element:
Leave a comment below and let us know if you have any queries.
Restaurant Website Using HTML And CSS With Source Code
Everyone’s journey starts as Beginner so if you have any type of confusion drop a comment we are here to reply & provide the best information regarding your comment. Thank you for reading!
Thank you for visiting our Blog today. Please Check out our other posts.
Written by: @OmBandiwan