Explain Pseudo-elements ?
Explain Pseudo-elements ?
Pseudo-elements are used to add special effects to some selectors.CSS in used to apply styles in HTML mark-up. In some cases when extra mark-up or styling is not possible for the document, then there is a feature available in CSS known as pseudo-elements. It will allow extra mark-up to the document without disturbing the actual document.
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.
It help to fill the color in selected element of the website.
pseudo-elements are used to style specified parts of an element
-Style the first letter or line of an element
-insert content before or after the content of an element
|
Bookmarks