@media only screen and (max-width: 785px){
table {
overflow: scroll;
display: block;
overflow-x: auto;
white-space: nowrap;
}}
首行固定
table td:first-child {
position: sticky;
left: 0;
z-index: 1;
background-color: #fbfbfb;
}
@media only screen and (max-width: 785px){
table {
overflow: scroll;
display: block;
overflow-x: auto;
white-space: nowrap;
}}
首行固定
table td:first-child {
position: sticky;
left: 0;
z-index: 1;
background-color: #fbfbfb;
}