Posted On: Feb 22, 2018
Pseudo-elements are keyword added to the selector that allows one o style a specific part of the selected element. CSS is 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. It can be used for;
Syntax
Selector: :pseudo-element { property1 :value; property2 :value; }
Never Miss an Articles from us.
Cascading style sheets or CSS is a web designing language simple for HTML elements. The application is commonly known a..
There are a number of advantages of CSS, It gives lots of flexibility for setting the properties of the element Easy ma..
CSS can be integrated in three ways: Inline: term is used when the CSS code have attribute of HTML elements<p styl..