html代码
质控参数
样本
样本标准对照对照XX≥20%不适用不适用
CSS代码
/*模拟对角线*/
.line {
background: #234390 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxsaW5lIHgxPSIwIiB5MT0iMCIgeDI9IjEwMCUiIHkyPSIxMDAlIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=) no-repeat 100% center;
}
.line span:first-child{
display: inline-block;
position: relative;
bottom: -12px;
left:-10px;
}
.line span:last-child{
display: inline-block;
position: relative;
top:-10px;
right: -10px;
}
说明
PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxsaW5lIHgxPSIwIiB5MT0iMCIgeDI9IjEwMCUiIHkyPSIxMDAlIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=
#其实是base64加密后的代码,解密后如下:
代码中的black是颜色,支持16进制颜色编码,修改颜色后,重新base64加密后替换原来的加密代码即可。
如果觉得《html表格中加横线 html css 设置表格单元格横线》对你有帮助,请点赞、收藏,并留下你的观点哦!