Question:

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

Answer:

  • 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

Keywords:

© 2017 QuizBucket.org