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

你的移动适配在哪里?? 写在index.html里??? #2

Open
yehoan opened this issue Jan 18, 2017 · 0 comments
Open

你的移动适配在哪里?? 写在index.html里??? #2

yehoan opened this issue Jan 18, 2017 · 0 comments

Comments

@yehoan
Copy link

yehoan commented Jan 18, 2017

在index.html 中有一段脚本,是根据 当前屏幕宽度 设置 body的font-size(也就是1 rem对应多少px);
在“src/assets/scss/min.scss” 中定义一个px转换成rem的函数,视觉稿宽度按照 750px来的。 可以看下rem适配移动端的方案。

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

1 participant