- 博客(2)
- 收藏
- 关注
原创 css,div水平垂直居中问题
一、未知宽高 法1、 <div class="box">div1</div> .box{ position: fixed; top:0; right:0; bottom:0; left:0; margin:auto; } 法2、 <div class="box">div1</div> .box{ po...
2019-10-22 18:07:18 73
原创 meta标签在移动端项目中的设置
css解决居中问题 一、未知宽高: div1 法1、.box{ position: absolute; top:50%; left:50%; transform: translate(-50%, -50%); background:#d00; } 法2、.box{ width:200px; height:400px; border:1p...
2019-10-22 17:30:44 189
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人