Add nth-first and nth-last