修复引导表的第一列

修复引导表的第一列,第1张

修复引导表的第一列

好的,删除所有

js
代码,您可以使用一些CSS技巧来做到这一点,如下所示:

CSS

.table > thead:first-child > tr:first-child > th:first-child {    position: absolute;    display: inline-block;    background-color: red;    height: 100%;}.table > tbody > tr > td:first-child {    position: absolute;    display: inline-block;    background-color: red;    height: 100%;}.table > thead:first-child > tr:first-child > th:nth-child(2) {    padding-left: 40px;}.table > tbody > tr > td:nth-child(2) {    padding-left: 50px !important;}


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5018007.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-15
下一篇2022-11-14

发表评论

登录后才能评论

评论列表(0条)

    保存