border小于1px

//.5的边框
.border-x {
position: relative;
height: 220rpx;
.line {
position: absolute;
left: 0;
top: 0;
width: calc(200% - 2px); //注意这个宽度,不要为200%,不然会出现有的边框边缘显示不全问题
height: calc(200% - 2px);
border: 1px solid #EEEEEE;
border-radius: 20px;
transform-origin: 0 0;
transform: scale(.5, .5);
}
}

 

 

posted @ 2021-08-30 11:25  何云泽  阅读(112)  评论(0)    收藏  举报