移动端适配方案:

88 阅读1分钟

移动端适配:网页的宽高等比缩放

  1. rem布局+媒体查询+flex
  2. rem+flex+flexible.js flexible.js 把屏幕平均划分为10份
  3. vw/wh+flex vw/wh 把屏幕平均划分为100份