模板案例:
table样式:
<style scoped>
table{
border-collapse: collapse;
margin: 0 auto;
text-align: center;
}
table td, table th{
border: 1px solid #cad9ea;
color: #666;
height: 30px;
}
table thead th{
background-color: #CCE8EB;
width: 100px;
}
table tr:nth-child(odd){
background: #fff;
}
table tr:nth-child(even){
background: #F5FAFA;
}
</style>
更多推荐
Html漂亮的table样式模板
发布评论