.van-hairline,
.van-hairline--bottom,
.van-hairline--left,
.van-hairline--right,
.van-hairline--surround,
.van-hairline--top,
.van-hairline--top-bottom {
  position: relative;
}

.van-hairline--bottom:after,
.van-hairline--left:after,
.van-hairline--right:after,
.van-hairline--surround:after,
.van-hairline--top-bottom:after,
.van-hairline--top:after,
.van-hairline:after {
  position: absolute;
  box-sizing: border-box;
  -webkit-transform-origin: center;
  transform-origin: center;
  content: " ";
  pointer-events: none;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  border: 0 solid #ebedf0;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}

.van-hairline--top:after {
  border-top-width: 2rpx;
}

.van-hairline--left:after {
  border-left-width: 2rpx;
}

.van-hairline--right:after {
  border-right-width: 2rpx;
}

.van-hairline--bottom:after {
  border-bottom-width: 2rpx;
}

.van-hairline--top-bottom:after {
  border-width: 2rpx 0;
}

.van-hairline--surround:after {
  border-width: 2rpx;
}