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;
}
本文标题:css隐藏和显示table的第一列
本文链接:https://www.haomeiwen.com/subject/bmylfftx.html
网友评论