简化写法

pull/166/head
lyswhut 2020-01-10 22:19:24 +08:00
parent d36e21ab56
commit 54354518d0
1 changed files with 26 additions and 26 deletions

View File

@ -666,32 +666,32 @@ export default {
.del-line { .del-line {
position: relative; position: relative;
} &:before {
.del-line:after { display: block;
display: block; height: 1px;
height: 1px; position: absolute;
position: absolute; width: 110%;
width: 110%; content: ' ';
content: ' '; left: 0;
left: 0; background-color: #000;
background-color: #000; transform: rotate(-24deg);
transform: rotate(23deg); transform-origin: 0;
transform-origin: 0px; top: 83%;
top: 2px; z-index: 1;
z-index: 1; }
} &:after {
.del-line:before { display: block;
display: block; height: 1px;
height: 1px; position: absolute;
position: absolute; width: 110%;
width: 110%; content: ' ';
content: ' '; left: 0;
left: 0; background-color: #000;
background-color: #000; transform: rotate(23deg);
transform: rotate(-24deg); transform-origin: 0px;
transform-origin: 0; top: 2px;
top: 83%; z-index: 1;
z-index: 1; }
} }
each(@themes, { each(@themes, {