html5 pseudo classes and element code example
Example 1: pseudo class
Pseudo class
Example 2: pseudo class css
.element:nth-child(1)
.element:hover
.element:visited
Pseudo class
.element:nth-child(1)
.element:hover
.element:visited