darknessangel
New Member
Why is last-child not targeting the last article tag in this fiddle?http://jsfiddle.net/gunP9/\[code\]<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>\[/code\]CSS\[code\].parent .example{ background-color: red;}.parent .example:last-child{background-color: yellow;}\[/code\]