Bootstrap table without stripe / borders

后端 未结 16 887
天命终不由人
天命终不由人 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:23

    The border styling is set on the td elements.

    html:

    css:

    .borderless td, .borderless th {
        border: none;
    }
    

    Update: Since Bootstrap 4.1 you can use .table-borderless to remove the border.

    https://getbootstrap.com/docs/4.1/content/tables/#borderless-table

    提交回复
    热议问题