:first-child ? nononocss
.targetEle + .targetEle{ margin-top: 20px; }
只有前面有.targetEle .targetEle才能命中这个选择器,因为第一个.targetEle前面没有,因此命不中,这样看起来代码就简洁多了。code