摘要: 1.判断是否来自微信浏览器 2.判断手机的类型 阅读全文
posted @ 2016-11-29 19:39 百年美 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1.如果使用jquery绑定touch事件的话,获取touchstart,touchmove的触点坐标用 e.originalEvent.targetTouches[0].pageX, 获取touchend则用 e.originalEvent.changedTouches[0].pageX 2.有些 阅读全文
posted @ 2016-11-29 19:02 百年美 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 移动端字体使用: font-family: Helvetica,sans-serif;我看这也是天猫使用的 透过背景看其他元素模糊,自身元素不模糊: -webkit-backdrop-filter:saturate(180%) blur(20px);background: rgba(0,0,0,0. 阅读全文
posted @ 2016-11-29 17:34 百年美 阅读(1347) 评论(0) 推荐(0) 编辑