html5 - 移动端自适应布局 阿里的flexible.js和rem布局动态改变html font-size值的方法相比有什么优势?
天蓬老师
天蓬老师 2017-04-17 13:11:03
0
3
486

移动端自适应布局
rem布局动态改变html font-size值的方法,就足以实现移动端的适配了
阿里的flexible.js + makegrid.js有什么额外优势吗?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
Ty80

I also think rem is enough, that’s what Meituan does. As for flexible.js + makegrid.js, I haven’t used them yet. I’ll go take a look that day.

迷茫

rem is mainly used to control font size. Of course, it can also be used to control height and width (not recommended personally).
makegrid is more controlled from the layout (I don’t like this way of handling adaptation through calculation)

巴扎黑

Personally, I think using rem is enough to adapt to the mobile phone. However, it is not recommended to use rem to change the font size. It is best only used for the layout of the frame.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!