main.html中
<div class="row"> <div class="col-md-2"> // stuff here for this column </div> <div class="col-md-10"> // stuff here for columns </div> </div>
.padding-0{ padding-right:0; padding-left:0; }
在html写这个类
<div class="row"> <div class="col-md-2 padding-0"> //stuff here for this column </div> <div class="col-md-10 padding-0"> //stuff here for columns </div> </div>