Skip to content

Instantly share code, notes, and snippets.

@wxingheng
Created May 22, 2019 03:37
Show Gist options
  • Save wxingheng/9ffb3cb6e9e5cb42d36f768705a9b888 to your computer and use it in GitHub Desktop.
Save wxingheng/9ffb3cb6e9e5cb42d36f768705a9b888 to your computer and use it in GitHub Desktop.
移动端适配方案
- rem <全能高手配置好了很好用
- vw, vh <vh很有用,可结合rem使用,vw 建议只是用来大布局
- 百分比 不太好用,高度比较麻烦 <特殊场景使用
- flex 弹性高度 <灵活使用,在需要填充的时候使用
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment