[Doc] add build-in style document (#633)

This commit is contained in:
neverland
2018-02-09 16:38:44 +08:00
committed by GitHub
parent 6ac8a8d2c0
commit 6f52b59d50
15 changed files with 216 additions and 33 deletions

View File

@@ -1,20 +1,14 @@
@import "../mixins/border-retina.css";
.van-hairline {
&,
&--top,
&--left,
&--right,
&--bottom,
&--top-bottom,
&--surround {
position: relative;
[class*='van-hairline'] {
position: relative;
&::after {
@mixin hairline;
}
&::after {
@mixin hairline;
}
}
.van-hairline {
&--top::after {
border-top-width: 1px;
}