Live Chat Icon For mobile
Live Chat Icon

What are pseudo-elements?

Platform: ASP.NET| Category: CSS Styles and Themes

Pseudo-elements are fictional elements that do not exist in HTML. They address the element’s sub-part. There are 2 types of pseudo-elements as “first-line pseudo-element’ and ’first-letter pseudo-element’. Pseudo-element is created by a colon followed by pseudo-element’s name,e.g:


and can be combined with normal classes;



The first line of this paragraph will be displayed in uppercase letters

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.