0
点赞
收藏
分享

微信扫一扫

移动端1像素边框问题

pipu 2022-02-16 阅读 36
css3csshtml

移动端1像素边框问题

.contianer{
position: relative;
&::before{
content:" ";
position: absolute;
left:0;
top:0;
width:200%;
height:200%;
transform:scale(0.5,0.5);
transform-origin:left top;
border:1px solid lightgray;
box-sizing:border-box;
}
}
举报

相关推荐

0 条评论