摘要: left: 50%; top: 50%; transform: translate(-50%, -50%); position: absolute; /* 50%为自身尺寸的一半 */ position: absolute; left: 0; top: 0; right: 0; bottom: 0; 阅读全文
posted @ 2021-09-18 21:43 老运维 阅读(33) 评论(0) 推荐(0)