表格奇偶行不同色
tr:nth-of-type(odd){
background-color:antiquewhite}
tr:nth-child(even) {
background-color: #F7F6F3 }
表格首行hover无效果
tr:not(:first-child):hover {
background-color: aqua;
}
超出单元格范围,显示……
td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border: none !important;
}
联系客服