Pseudo-class style

Attributes description
 :hover  When the mouse is over after the trigger element, you can add style to the elements.
 :link  Add style to unvisited links.
 :visited  Add style to the link has been visited.
 :active  Add style to an activated element.
 :first-child  Add style to the first child element.
 :last-child  Removing the last element property
 : just  Add style to the elements with the specified attribute lang
   
:focus  Element to get the focus when added to the style element has the keyboard input focus.

 

 

 

 

Guess you like

Origin www.cnblogs.com/caitangbutian/p/11427222.html