or, if you only want to style a grid with two or more rows: li:nth-child(3n):nth-last-child(-n+4) ~ li { ... } Tests: 1 elements. 1. 2 elements.
確定! 回上一頁