首页 > 技术文章 > 如何使用CSS 让Table的最后一列的右边框不显示

Javi 2017-03-17 10:14 原文

table{
            border-collapse:collapse;
        }
        .templateColumn{
            border-right:1px solid #AAA;
        }
        table.templateContainer>table:nth-child(3n){
            border:none;
        }
  .columnsContainer:last-of-type .templateColumn{
    border-right:0px;
}

 

推荐阅读