vue|vue element 表头添加斜线的实现代码

.el-table thead.is-group th {background: #fff; }.el-table thead.is-group tr:first-of-type th:first-of-type:before {content: '日期'; text-align: center; position: absolute; width: 152px; height: 1px; bottom: 30px; right: 0; }.el-table thead.is-group tr:first-of-type th:first-of-type:after {content: '配送新增'; text-align: center; position: absolute; width: 152px; top: 10px; left: 0; }.el-table thead.is-group tr:first-of-type th:first-of-type .cell {position: absolute; top: 0; left: 0; width: 152px; height: 1px; background-color: #EBEEF5; display: block; text-align: center; transform: rotate(38deg); transform-origin: top left; -ms-transform: rotate(38deg); -ms-transform-origin: top left; -webkit-transform: rotate(38deg); -webkit-transform-origin: top left; }

效果:
vue|vue element 表头添加斜线的实现代码
文章图片

【vue|vue element 表头添加斜线的实现代码】到此这篇关于vue element 表头添加斜线的文章就介绍到这了,更多相关vue element 表头添加斜线内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!

    推荐阅读