摘要:
[1] 使用绝对定位和外边距 fathereElement{ position : relative; } childElment{ margin : auto; position : absolute; top : 0; left : 0; bottom : 0; right : 0; height : 500px; } [2] 在确认子元素的大小时 ... 阅读全文
posted @ 2019-05-10 17:22
Seven77yixuan
阅读(138)
评论(0)
推荐(0)