Using a standard list, I\'m trying to select the last 2 list items. I\'ve various permutations of An+B but nothing seems to select the last 2:
An+B
l
This will select the last two iems of a list:
li:nth-last-child(-n+2) {color:red;}
fred fred fred fred fred fred fred fred fred fred