#out{
position: fixed;
width:400px;
height:200px;
background:#ccc;
margin: -100px 0 0 -200px;
left:50%;
top:50%;
}
#leftTop{
position:absolute;
left:0;
top:0;
width:50px;
height:50px;
background:#fc0;
border-bottom-right-radius:50px;
}
#rightBottom{
position:absolute;
right:0;
bottom:0;
width:50px;
height:50px;
background:#fc0;
border-top-left-radius:50px;
}
【ife】任务四:定位和居中问题
最新推荐文章于 2021-07-02 03:50:12 发布