
移动端
六点路人
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
移动端300毫秒延迟解决
https://cloud.tencent.com/developer/article/1379785 第一种: 禁止缩放 <meta name="viewport" content="user-scalable=no" /> 或者 html { touch-action: manipulation; } 第二种fastClick原创 2020-07-01 11:52:21 · 596 阅读 · 0 评论 -
移动端布局分享
function computedREM(){ let HTML = document.documentElement, winW = HTML.clientWidth; HTML.style.fontSize = winW/320 * 100 + 'px'; } computedREM(); window.addEventListener('resize',computedREM); css中设置 html { font-size: 100px; } ...原创 2020-05-12 12:26:24 · 173 阅读 · 0 评论