0

What is the purpose of pseudo-elements and how are they made?

17th Sep 2016, 6:00 AM
Chirag Sabhadiya
Chirag Sabhadiya - avatar
1 Answer
0
Pseudo elements are made using a double colon (::) followed by the name of the pseudo element. Pseudo-elements are used to add special effects to some selectors, and can only be applied to block-level elements. Most commonly used pseudo-elements are ::first_line, ::first_letter, ::before, ::after
17th Sep 2016, 6:01 AM
Chirag Sabhadiya
Chirag Sabhadiya - avatar