Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

difference between pseudo elements and pseudo classes

Difference between pseudo elements and  classes:
 => pseudo element represent an actual part of DOM whereas pseudo classes 
  represents state of an element based on the user's interactions with it
 => pseudo elements use :: while classes use :
 
PREVIOUS NEXT
Tagged: #difference #pseudo #elements #pseudo #classes
ADD COMMENT
Topic
Name
2+4 =