div{            width: 200px;            height: 200px;            background: green;            position:absolute;            left:0;            top: 0;            bottom: 0;            right: 0;            margin: auto;        }如上,为什么要把top left right bottom 都设置为0?少一个都不会居中,原理是什么
                    
                    
                添加回答
举报
0/150
	提交
		取消
	
 
                    