自定义table样式

 

.tableWrap {
width: 100%;
border-collapse:collapse;
border-top:1px solid #e9e9e9;
border-left:1px solid #e9e9e9;
tr{
th {
text-align: center;
padding:5px 20px 5px 20px;
border-bottom: 1px solid #e9e9e9;
border-right: 1px solid #e9e9e9;
background: #f7f7f7;
}
td {
text-align: center;
padding:5px 20px 5px 20px;
border-bottom: 1px solid #e9e9e9;
border-right: 1px solid #e9e9e9;
vertical-align: top;
}
&:hover {
cursor: pointer;
}
}
}

  

posted @ 2017-06-16 11:46  年少的你如此美丽  阅读(185)  评论(0编辑  收藏  举报