我与我的孩子div有正确的边框,但我想从最后一个div中删除右边框。
<div class="nav-footer">
<div class="col-lg-2">
<h2 class="light-blue">Who</h2>
<p class="white">are the people/ would you drink with</p>
</div>
<div class="col-lg-2">
<h2 class="light-blue">Where</h2>
<p class="white">would be having a hangover</p>
</div>
<div class="col-lg-2">
<h2 class="light-blue">What</h2>
<p class="white">would you be working on</p>
</div>
<div class="col-lg-2">
<h2 class="light-blue">How</h2>
<p class="white">does a team drink</p>
</div>
<div class="col-lg-2">
<h2 class="light-blue">Why</h2>
<p class="white">should you drink</p>
</div>
<div class="col-lg-2">
<h2 class="light-blue">Show</h2>
<p class="white">at Vegas</p>
</div>
</div>
.nav-footer .col-lg-2 { border-right: 1px solid #ffffff;}
.nav-footer .col-lg-2 .last { border-right:none; }
它不像那样......
感谢。