如果您有 HTML:
<section class="column">
<p> Some Test </p>
<p> Some Test </p>
<p> Some Test </p>
</section>
<section class="column">
<p> Some More Test </p>
<p> Some More Test </p>
<p> Some More Test </p>
</section>
<section class="someotherclass">
<p> Some More Test </p>
<p> Some More Test </p>
<p> Some More Test </p>
</section>
和 CSS:
.column:last-child { background:red; }
有没有办法让:last-child
选择器选择最后一次出现的类?