div {
position: relative;
width: 500px;
height: 500px;
background-color: pink;
}
p {
position: absolute;
top: 50%;
left: 50%;
width: 200px;
height: 200px;
background-color: rgb(216,转化 50, 50);
transform: translate(-50%, -50%);
}
/*走盒子自己宽度的一半*/
以前想要把一个子盒子移动到父盒子的

摩拜ofo单车免押金了?响应共享单车新政 摩拜小程序可“免押金”试骑

一念逍遥玄门问道国庆活动详细攻略

塔塔冒险队围猎臭臭高分打法攻略

永远的蔚蓝星球中秋国庆节兑换口令码一览

130平米这样装修省钱 130平米房子装修注意事项

寻道大千镇魔无尘剑仙详细打法攻略