摘要: width:400px; height:500px; position:absolute; left:50%; top:50%; margin-left: -200px; margin-top: -250px; 原理:先设置长宽,然后定位为绝对位置,left和top分别为50%可以让模块的左上角位于 阅读全文
posted @ 2022-03-13 23:06 stdrush 阅读(84) 评论(0) 推荐(0)