a:hover { color: coral; }
input:focus { outline: 2px solid teal; }
li:nth-child(odd) { background: #f5f5f5; }
li:first-child { font-weight: bold; }Pseudo-Classes
Target elements based on STATE or POSITION rather than their tag/class/id — :hover, :focus, :nth-child, and more.