考虑这个标记:
<div class="container">
<div class="row first">
<div class="col-lg-6 flush-col">
<div class="thumbnail-services">
<h3>Design</h3>
</div>
</div>
<div class="col-lg-6 flush-col">
<div class="thumbnail-services">
<h3>Design</h3>
</div>
</div>
</div>
<div class="row second">
<div class="col-lg-6 flush-col">
<div class="thumbnail-services">
<h3>Design</h3>
</div>
</div>
<div class="col-lg-6 flush-col">
<div class="thumbnail-services">
<h3>Design</h3>
</div>
</div>
</div>
</div>
这里是一个小提琴
我要的是去除那些最后两个栏(最后一个第一行和第二行最后一个)右边框
我已经使用这个尝试:
.thumbnail-services:last-child {border-right:0px;} but is not working.
任何想法,我应该怎么做才能让与CSS伪元素这项工作:last-child
?