mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
14 lines
329 B
CSS
14 lines
329 B
CSS
@mixin hairline($border-color: #eee) {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
right: -50%;
|
|
bottom: -50%;
|
|
transform: scale(0.5);
|
|
pointer-events: none;
|
|
box-sizing: border-box;
|
|
transform-origin: center; /* cover wechat button:after default transforn-origin */
|
|
border: 0 solid $border-color;
|
|
}
|