position: sticky 没办法用在 <thead> 或 <tr> 我一开始也是认为要把 sticky 放在 thead or tr, 但是大家说不能这样。具体原因,我也不知道…… 总之先 follow 吧 Link https://css-tricks.com/position-sticky-and-table-headers/ https://bugs.chromium.org/p/chromium/issues/detail?id=702927#c1