For selecting the first and second children, you can use a single :nth-child() pseudo-class like so: ul li:nth-child(-n+2) a { background: ...
確定! 回上一頁