Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

移动端适配方案 #14

Open
Hzzz opened this issue Apr 19, 2016 · 1 comment
Open

移动端适配方案 #14

Hzzz opened this issue Apr 19, 2016 · 1 comment

Comments

@Hzzz
Copy link
Owner

Hzzz commented Apr 19, 2016

概念

设备像素(屏幕的物理像素) pt

CSS像素(设备独立像素dips) px

两者关系影响因素

页面是否缩放

屏幕是否为高密度

设备像素比DPR

与设备像素、CSS像素的关系

dpr = 设备像素 / CSS像素

与视口的关系

dpr = 屏幕横向设备像素 / 理想视口的宽

淘宝flexible.js

使用flexible.js实现移动端设备适配

移动端页面适配方案

移动端高清、多屏适配方案

移动端适配方案(上)

@Hzzz
Copy link
Owner Author

Hzzz commented Sep 29, 2017

手淘flexible 0.3.4修正版

rem方案:使用Flexible实现手淘H5页面的终端适配
下载地址

手淘flexible 新版

vw方案:再聊移动端页面的适配

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant