CSS给table的tbody添加滚动条
table tbody {
height: 200px;
overflow-y: auto;
display: block;
}
table thead,
tbody tr {
display: table;
width: 100%;
}
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
编辑 (opens new window)
上次更新: 2022/10/07, 16:20:59