css给表格每一列设置不同的样式

第一列
#id table tr td:first-child{

  overflow: visible;

}
第二列
table tr td:first-child+td{
color:#666;
}
第三列
table tr td:first-child+td+td{
color:#999;
}

记一下

posted @ 2018-08-13 15:19  侯小厨  阅读(4981)  评论(0编辑  收藏  举报
Fork me on Gitee