使用nth -child(n+4):nth-child(-n+8) 我们可以选中某一范围内子元素,上面的例子里是从第4个到第8个子元素. 奇数、偶数位. :nth-child(odd). :nth-child(even).
確定! 回上一頁