【问题标题】:How to round the corner of table?如何圆桌角?
【发布时间】:2019-05-22 15:05:16
【问题描述】:

如何在不切角的情况下圆桌角。

#DataTables_Table_1 {
    padding: 0;
    width: 100%;
    border: 2px solid #00478f !important;
    border-radius: 40px !important;
    border-spacing: 0;
    border-collapse: separate;
}

我使用这个代码,但表格看起来像这样。

【问题讨论】:

  • 你能把你的html也发上来吗?
  • 'class="sorting_1">2018 tr>'
  • 把你的html代码放在你的问题中。

标签: twitter-bootstrap html-table


【解决方案1】:

只需将您的 CSS 添加到 table 标记,我认为您添加了另一个元素的代码:

table {
    padding: 0;
    width: 100%;
    border: 2px solid #00478f !important;
    border-radius: 40px !important;
    border-spacing: 0;
    border-collapse: separate;
}

【讨论】:

    猜你喜欢
    • 2020-02-21
    • 1970-01-01
    • 1970-01-01
    • 2011-06-23
    • 2017-12-08
    • 2011-08-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多