【问题标题】:Boostrap table only top border引导表仅顶部边框
【发布时间】:2015-11-02 22:29:56
【问题描述】:

我有一个引导表(数据卡类型)来显示排名。

我想隐藏表格的所有边框,除了最上面的边框。

其实,我可以用这段代码隐藏表格底部:

#table1 {
    border-bottom:0 px;
}

但例如,border-right:0 px;甚至离开不起作用。请问你能帮帮我吗?谢谢

【问题讨论】:

  • #table1{border: 0px; border-top:1px solid black;} 是你要找的吗?

标签: html css twitter-bootstrap


【解决方案1】:

覆盖 td 元素样式

#table1 td {
    border-left:0;
    border-right:0;
    border-bottom:0;
}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-03-06
    • 1970-01-01
    • 1970-01-01
    • 2020-05-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多