【发布时间】:2022-01-24 12:16:15
【问题描述】:
我一定错过了一些非常小的东西。我有一个带有 Bootstrap5 css 的 html 表。我无法正确格式化。我怎样才能摆脱这条黑线或格式化它和黑色文本以使其不那么粗体?
这是表头代码:
<table id="submissionTable" class="table table-bordered">
<thead>
<tr>
<th class="col-6 text-center">Item Description</th>
<th class="col-3 text-center">Quantity Used</th>
<th class="col-2 text-center">Sold</th>
<th class="col-1 text-center"></th>
</tr>
</thead>
我在 <head> 中使用 bootstrap.min.js 和我自己的 custom.js。
这是我的自定义 CSS
tbody, td, tfoot, th, thead, tr {
border-style: none;
}
【问题讨论】:
-
创建代码sn-p供参考。
标签: html html-table bootstrap-5