css隐藏和显示table的第一列
2018-03-07 本文已影响0人
lijibing
1、显示table的首列
td:first-child {
display: table-cell;
}
th:first-child {
display: table-cell;
}
2、隐藏table的首列
td:first-child {
display: none;
}
th:first-child {
display: none;
}
td:first-child {
display: table-cell;
}
th:first-child {
display: table-cell;
}
td:first-child {
display: none;
}
th:first-child {
display: none;
}