CSS

Last Updated: 10/5/2022

Pseudo Elements

  • Used to style specified parts of an element.
  • ::after - Insert content after every element
  • ::before - Insert content before every element
  • ::first-letter- Selects the first letter of every element
  • ::first-line- Selects the first line of every element
  • ::selection- Selects the portion of an element that is selected by a user
  • ::marker - selects the markers of list items