我想知道在 bootstrap 3 中处理静态表头并保持 bootstrap 表 css 类的响应式设计的最佳方法。
所以 标签在滚动表格行时应该是静态的。
最佳答案
我无法发表评论,因为我还没有足够的代表。 所以基本上你想关闭 bootstrap 中 thead 元素的响应部分?正常吗? 关于javascript - Bootstrap 3 - 静态表头实现,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/39634807/
<table class="table table-striped">
<thead>
<tr>
<th>Col1</th>
<th>Col2</th>
<th>Col3</th>
<th>Col4</th>
</tr>
</thead>
<tbody>
<tr>
<td>Some data..</td>
<td>Some data..</td>
</tr>
....