Bootstrap table without stripe / borders

后端 未结 16 871
天命终不由人
天命终不由人 2020-12-12 11:54

I\'m kinda stuck with a CSS problem while using Bootstrap. I\'m also using Angular JS with Angular UI.bootstrap (which might be part of the problem).

I\'m making a w

16条回答
  •  無奈伤痛
    2020-12-12 12:17

    I know this is an old thread and that you've picked an answer, but I thought I'd post this as it is relevant for anyone else that is currently looking.

    There is no reason to create new CSS rules, simply undo the current rules and the borders will disappear.

    
        .table>tbody>tr>th,
        .table>tbody>tr>td {
            border-top: 0;
        }
    
    

    going forward, anything styled with

        .table
    

    will show no borders.

提交回复
热议问题