【摘要】 规定属于其父元素的第二个子元素的每个p 的背景色: p:nth-child(2) { background:#ff0000; } 1定义和用法:nth-child(n) 选择器匹配属于其父 ...
確定! 回上一頁