Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

px_to_rem值的定义 #6

Open
kamyzd opened this issue Jan 13, 2016 · 3 comments
Open

px_to_rem值的定义 #6

kamyzd opened this issue Jan 13, 2016 · 3 comments

Comments

@kamyzd
Copy link

kamyzd commented Jan 13, 2016

px_to_rem - px转rem的单位比例,默认为40,这个值应该通过什么来定义呢,比如我现在拿到的设计稿是640px,那我的px_to_rem应该设置成多少?

@riskers
Copy link

riskers commented Jan 19, 2016

@kamyzd 64

定为设计稿的十分之一

@liujsim
Copy link

liujsim commented Mar 2, 2016

例如,基于 iPhone 6 的设计稿:750*1334 ,这个值就是 75 吧,是这样吗?

@kamyzd
Copy link
Author

kamyzd commented Mar 16, 2016

@runcelim 是这样的

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

No branches or pull requests

3 participants