一个好看的表格,拿走不谢
效果图

<div class="tablebox">
<table id="tableId" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th>序号</th>
<th>单位名称</th>
<th>缺口岗位</th>
<th>缺口数量</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>北京天安信**科技有限公司</td>
<td>人事专员</td>
<td>6</td>
</tr>
<tr>
<td>2</td>
<td>石家庄**科技有限公司</td>
<td>市场营销</td>
<td>6</td>
</tr>
</tbody>
</table>
</div>
table, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
outline: 0;
vertical-align: baseline;
background: transparent;
border-collapse: collapse;
border-spacing: 0;
border: 0;
color: #fff;
}
.tablebox table {
border-collapse: separate;
border-spacing: 1px
}
.tablebox {
width: 100%;
height: auto;
overflow: hidden;
margin: 10px auto;
}
.tablebox table {
width: 100%;
}
.tablebox table th, .tablebox table td {
font-size: 12px;
text-align: center;
line-height: 16px;
background: #3754a2;
padding: 12px;
}
.tablebox table th {
height: 30px;
line-height: 30px;
background: #6271bd;
font-size: 14px;
font-weight: normal;
}
.tablebox table td img {
display: inline-block;
vertical-align: middle;
}
.tablebox.table_md table td, .tablebox.table_md table th {
line-height: 18px;
}
@前端学前班(同抖音)

1573

被折叠的 条评论
为什么被折叠?



