0
点赞
收藏
分享

微信扫一扫

Git 仓库中 -- 代码冲突产生、定位、解决的流程

非衣所思 2024-05-26 阅读 16

表格table设置css3首行在滚动的时候悬停使用sticky属性

<table class="table-sh">

        <thead>

        <tr><td></td></tr>

        </thead>

        <tbody>

                <tr><td></td></tr>

        </tbody>

</table>

.table-sh thead{position:sticky;left:0;top:0;z-index:31;table-layout:fixed;}

举报

相关推荐

0 条评论