Remove row lines in twitter bootstrap

前端 未结 6 1291
予麋鹿
予麋鹿 2021-01-30 08:12

I\'m using twitter bootstrap for some web app I\'m forced to do (I\'m not a web developer) and I can\'t find a way to disable the row lines for tables.

As you can see fr

6条回答
  •  無奈伤痛
    2021-01-30 08:41

    This is what worked for me..

    .table-no-border>thead>tr>th, 
    .table-no-border>tbody>tr>th, 
    .table-no-border>tfoot>tr>th, 
    .table-no-border>thead>tr>td, 
    .table-no-border>tbody>tr>td, 
    .table-no-border>tfoot>tr>td,
    .table-no-border>tbody,
    .table-no-border>thead,
    .table-no-border>tfoot{
      border-top: none !important; 
      border-bottom: none !important; 
    }
    

    Had to whip out the !important to make it stick.

提交回复
热议问题