📅  最后修改于: 2022-03-11 14:58:21.928000             🧑  作者: Mango
代码示例1
div {
width: 100px;
height: 100px;
background-color: red;
position: absolute;
top:0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}