摘要: 这个问题在面试中可能经常被问到,同时CSS的水平居中样式也是项目中需求较大的布局方式。有以下几种常用的方式: 1.已知具体宽高 .father { position: relative; width: 300px; height: 300px; } .child { width: 100px; he 阅读全文
posted @ 2021-01-30 11:37 周周的一周 阅读(79) 评论(0) 推荐(0)