如何使一个元素垂直水平居中
width:200px;
height:200px;
background-color:red;
text-align: center;
line-height: 200px;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
margin: auto;![在这里插入图片描述](https://img-blog.csdnimg.cn/20200102105046189.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NTIwNDQ2Mw==,size_16,color_FFFFFF,t_70)