html 手机端适配不同手机高度 ,把内容居中显示

手机端适配不同手机高度 ,把内容居中显示,可以将div、img、section、span、p等等元素,设置

top:50%;
margin-top:xxvw;

这样可以保证主题内容居中显示。

猜你喜欢

转载自www.cnblogs.com/-lin/p/12421346.html
今日推荐