摘要: 盒子垂直水平居中方案(齐) 定位方式居中(三种) html结构 <body> <div class="box">盒子垂直居中</div> </body> 知道子盒子的宽度和高度情况下并且要计算考虑 body,html{ position: relative; height: 100%; } .box 阅读全文
posted @ 2021-03-28 15:14 两年半coder练习生 阅读(109) 评论(0) 推荐(0)