📅  最后修改于: 2022-03-11 14:47:49.938000             🧑  作者: Mango
代码示例1
.centered{
position:relative;
top:50%;
left:50%;
transform:translate(-50%,-50%)
}
.container{
width:100px;
height:100px;
}