注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 这里放置的CSS将影响使用Vector皮肤的用户 */ /* class tsticky, tsticky2 固定表头 通用 */ .tsticky tr:nth-child(1) th, .tsticky2 tr:nth-child(-n+2) th { position: sticky; background-clip: padding-box; top: 0; z-index: 1; } .tsticky th:after, .tsticky th:before, .tsticky2 th:after, .tsticky2 th:before { content: ''; position: absolute; left: 0; width: 100%; } .tsticky th:before, .tsticky2 th:before { top: -1px; border-top: 1px solid #a2a9b1; } .tsticky th:after, .tsticky2 th:after { bottom: -1px; border-bottom: 1px solid #a2a9b1; }