摘要:
前提:设计稿为750px 1、下载flexible.js:(它的原理是将当前设备宽度划分为10等份) (function flexible (window, document) { var docEl = document.documentElement var dpr = window.devic 阅读全文
posted @ 2020-08-12 17:54
吴小明-
阅读(1080)
评论(0)
推荐(0)
摘要:
1、引入flexible.js文件: (function flexible(window, document) { var docEl = document.documentElement; var dpr = window.devicePixelRatio || 1; // adjust body 阅读全文
posted @ 2020-08-12 17:17
吴小明-
阅读(2526)
评论(1)
推荐(2)