移动端
insist999
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
移动端基础知识
####Meta基础知识: - H5页面窗口自动调整到设备宽度,并禁止用户缩放页面 ``` Javascript //一、HTML页面结构 // width 设置viewport宽度,为一个正整数,或字符串‘device-width’ // height 设置viewport高度,一般设置了宽度,会自动解析出高度,可以不用设置 // initial-scale 默认缩放比例,为转载 2017-02-10 10:41:37 · 733 阅读 · 0 评论 -
移动端多指操作方法封装
Document #box { margin: 100px auto; width: 100px; height: 100px; background-color: red; } document.addEventListener('touchstart', function(e) { e.preventDefault(); }); window.onload = fun原创 2017-02-22 12:40:39 · 1200 阅读 · 0 评论
分享