gpt4 book ai didi

javascript - Bootstrap 3 - 静态表头实现

转载 作者:行者123 更新时间:2023-11-28 05:09:52 25 4
gpt4 key购买 nike

我想知道在 bootstrap 3 中处理静态表头并保持 bootstrap 表 css 类的响应式设计的最佳方法。

所以 标签在滚动表格行时应该是静态的。

<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>
....

最佳答案

我无法发表评论,因为我还没有足够的代表。

所以基本上你想关闭 bootstrap 中 thead 元素的响应部分?正常吗?

关于javascript - Bootstrap 3 - 静态表头实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39634807/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com