css pseudo classes on click code example
Example 1: pseudo class css
.element:nth-child(1)
.element:hover
.element:visited
Example 2: css pseudo classes
button/anchor:hover / :active / :checked
:nth-of-type(3) // select the third element
:nth-of-type(3n) // select an element every three