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

求解释rem2px的值 #9

Open
07ke opened this issue Apr 20, 2017 · 1 comment
Open

求解释rem2px的值 #9

07ke opened this issue Apr 20, 2017 · 1 comment

Comments

@07ke
Copy link

07ke commented Apr 20, 2017

求解为什么在640px屏宽下 1rem=100px,如果设计稿的宽度为1080在1080屏宽下1rem又等于几呢?

@hbxeagle
Copy link
Owner

1rem = 100px是一个约定值,如果设计稿是1080,将adapt(640, 100)修改为adapt(1080, 100)即可,1rem还是对应100px

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

2 participants