Web Development CSS Beginner
Q What is the difference between :hover and ::before?
  • A :hover is a pseudo-class (a state); ::before is a pseudo-element (generated content)
  • B Both are pseudo-elements
  • C Both are pseudo-classes
  • D ::before is a state
Leave a Comment