We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.使用flexible :flexible 2.ios的 dpr不为1才是关键难调!
The text was updated successfully, but these errors were encountered:
设置高度感觉不好弄,flex和这个配合使用应该可以解决吧,才入坑前端两周,有理解错的地方,求指点
Sorry, something went wrong.
写这篇主要是针对rem在计算中出现的问题,毕竟flexible也需要rem的配合。flex确实很好使,但在一些Android手机上有些属性比较坑。针对dpr大于1的情况是需要特殊处理,比如1px边框问题,是要判断dpr后加单独的样式做适配。 另外,CFM880提到的高度的问题,我猜测是在遇到全屏设计页面时觉得不好弄吧。本人的一点经验,在切图的时候,从模块、模块包围结构、左右相对位置、前景、后景和设计意图等综合考虑,使用不同的方案。希望有帮助。
No branches or pull requests
1.使用flexible :flexible
2.ios的 dpr不为1才是关键难调!
The text was updated successfully, but these errors were encountered: