This will select the last two iems of a list: li:nth-last-child(-n+2) {color:red;} <ul> <li>fred</li> <li>fred</li> <li>fred</li> ...
確定! 回上一頁