mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
42 lines
589 B
CSS
42 lines
589 B
CSS
@import "./mixins/hairline.css";
|
|
|
|
.van-hairline,
|
|
.van-hairline--top,
|
|
.van-hairline--left,
|
|
.van-hairline--right,
|
|
.van-hairline--bottom,
|
|
.van-hairline--top-bottom,
|
|
.van-hairline--surround {
|
|
position: relative;
|
|
|
|
&::after {
|
|
@include hairline;
|
|
}
|
|
}
|
|
|
|
.van-hairline {
|
|
&--top::after {
|
|
border-top-width: 1px;
|
|
}
|
|
|
|
&--left::after {
|
|
border-left-width: 1px;
|
|
}
|
|
|
|
&--right::after {
|
|
border-right-width: 1px;
|
|
}
|
|
|
|
&--bottom::after {
|
|
border-bottom-width: 1px;
|
|
}
|
|
|
|
&--top-bottom::after {
|
|
border-width: 1px 0;
|
|
}
|
|
|
|
&--surround::after {
|
|
border-width: 1px;
|
|
}
|
|
}
|