I messed around a lot with z-index
but didn't get anywhere.
So, working without z-index
:
.table {
transform-style: preserve-3d;
}
.thead {
transform: translate3d(0, 0, 1px);
}
.tbody {
transform: translate3d(0, 0, 0);
}
Note that transform-style
has to be on parent.
It's a touch hacky but for lack of a better solution, here it is.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…