document.stylesheetsåhow to get all pseudo styles of an element code example Example: pseudo class css .element:nth-child(1) .element:hover .element:visited