去除bootstrap的table样式中单元格边框线

使用bootstrap的table样式,在非纯白背景下,会有单元格边框线,影响美观。

去除方式:

    <style type="text/css">
        body{background:#d4d0c8;}  //自定义背景
        td{border: 1px solid transparent !important;}  //使用透明的方式去除边框线
    </style>

若要去除某一部分边框线,如右边框线,可将border改为 border-right

猜你喜欢

转载自blog.csdn.net/kellysir/article/details/85028153