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

关于rem的问题 #14

Open
qq277470897 opened this issue May 23, 2018 · 1 comment
Open

关于rem的问题 #14

qq277470897 opened this issue May 23, 2018 · 1 comment

Comments

@qq277470897
Copy link

看到页面css内,规定html字体大小为20px,
为什么不适用js判断不同大小分辨率给html不同的font-size?
这样是否实现了大屏幕元素变大,小屏幕元素变小,这样不是更好一些么?

@catouse
Copy link
Collaborator

catouse commented May 23, 2018

完全可以的,但因为确实一个标准,所以没有实现,大家可以根据自己的情况写几行 CSS 就可以搞定。

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