您的位置:首页 > 其它

定位

2015-08-28 20:40 274 查看
#position1{
width: 100px;
height: 100px;
background-color: blue;
position: absolute;
left: 20px;
top: 20px;
z-index: 3;
}
#position2{
width: 100px;
height: 100px;
background-color: aqua;
position: fixed;
left: 10px;
top: 10px;
z-index: 2;
}
#position3{
width: 100px;
height: 100px;
background-color: red;
position: relative;
left: 20px;
top: 20px;
z-index: 1;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: