【转】css table之合并单元格
colspan 是合并列,rowspan是合并行,合并行的时候,比如rowspan="2",它的下一行tr会少一列;合并列的时候 colspan="2",此行的列会少一列
<table border="1" style={{margin:200}}>
<tbody>
<tr>
<th colspan="2">我是占位符</th>
<th colspan="2">我是占位符</th>
</tr>
<tr>
<th rowspan="2">我是占位符</th>
<th>我是占位符</th>
<th>我是占位符</th>
<th>我是占位符</th>
</tr>
<tr>
<th>我是占位符</th>
<th>我是占位符</th>
<th>我是占位符</th>
</tr>
</tbody>
</table>
效果
css3斜线表头
<td >
<div class="biaoTou">
</div>
</td>
.biaoTou {
border-top: 200px #199fff solid; /*上边框宽度等于表格第一行行高*/
border-left: 200px #ff8838 solid; /*左边框宽度等于表格第一行第一格宽度*/
}
Redis --> 为redis分配新的端口
大数据 --> CAP原理和最终一致性
大数据 --> 一致性Hash算法
大数据 --> 分布式服务框架Zookeeper
网络通信 --> Linux 五种IO模型
网络通信 --> 同步、异步、阻塞与非阻塞介绍
网络通信 --> Socket、TCP/IP、HTTP、FTP及网络编程
SoC总线专题
RISC-V评估系列
Copyright © 2020-2023
润新知