If you have any query feel free to chat us!
Happy Coding! Happy Learning!
CSS pseudo-elements are used to style specific parts of a document, but are not actual HTML elements. They are specified with a double colon syntax (::
) followed by the name of the pseudo-element.
The following are some common pseudo-elements in CSS:
::before
- inserts content before the content of an element::after
- inserts content after the content of an element::first-letter
- styles the first letter of an element::first-line
- styles the first line of an element::selection
- styles the text that is selected by the user::backdrop
- creates a backdrop that can be used for modal dialogs and similar content.Note: CSS pseudo-elements were introduced with a single colon syntax (:
) in CSS1 and CSS2, but in CSS3 a double colon syntax was introduced to differentiate them from pseudo-classes.
Comments: 2
I am not able to access videos from second class and further. I have already completed first class
When will I get my course?
Now, Your query was resolved.