mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
36 lines
451 B
Plaintext
36 lines
451 B
Plaintext
@import './mixins/hairline';
|
|
|
|
[class*='van-hairline'] {
|
|
position: relative;
|
|
|
|
&::after {
|
|
.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;
|
|
}
|
|
}
|