为什么最后一个孩子没有瞄准这个小提琴的最后一篇文章标签?为什么最后一个孩子没有瞄准这个小提琴的最后一篇文章标签?
<div class="parent">
<article class="example">111</article>
<article class="example">111</article>
<article class="example">111</article>
<article class="example">111</article>
<section>content</section>
</div>
CSS
.parent .example{ background-color: red;}
.parent .example:last-child{background-color: yellow;}
“各篇的最后一个孩子”就是这样......不知道那...感谢 – byronyasgur
抱怨..你知道任何它不与IE8的工作... JS以外的其他方式? – byronyasgur
从头开始...最后一个孩子不会与IE8一起工作:-O – byronyasgur