[Improvement] upgrade to precss 3.0 (#1696)

This commit is contained in:
neverland
2018-08-27 15:41:45 +08:00
committed by GitHub
parent 26ff8ef43a
commit ab00a16b6a
16 changed files with 655 additions and 528 deletions
+13
View File
@@ -0,0 +1,13 @@
@mixin hairline($border-color: #e5e5e5) {
content: '';
position: absolute;
top: 0;
left: 0;
width: 200%;
height: 200%;
transform: scale(0.5);
transform-origin: 0 0;
pointer-events: none;
box-sizing: border-box;
border: 0 solid $border-color;
}