css新增属性
table tr:nth-child(1) {
tr父盒子下面的第一个tr
background-color: #ddd;
}
table tr:not(:first-child):hover {
tr父盒子下面的tr下面除了第一个属性,别的都被hover
background-color: #eee;
}
table tr:nth-child(1) {
tr父盒子下面的第一个tr
background-color: #ddd;
}
table tr:not(:first-child):hover {
tr父盒子下面的tr下面除了第一个属性,别的都被hover
background-color: #eee;
}