因为CSS 的渲染顺序是从右往左进行渲染的,而ID 则是全唯一的,那么就可以省略 ... <style> tr:nth-child(even) { background-color: red; } </style> ...
確定! 回上一頁