- 博客(1)
- 收藏
- 关注
转载 实现元素在整个页面居中的三种方法
绝对定位居中, position:absolute; top: 0; right: 0; left: 0; bottom: 0; margin: auto; 绝对定位居中2,要求已知定位元素的宽和高 position:absolute; top: 50%; left: 50%; margin-top: -150px; margin-left: -15
2016-11-24 23:14:03
4337
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人