摘要: $('.ruler ul').on("touchstart",function(e){ startY = e.originalEvent.changedTouches[0].pageY; } $('.ruler ul').on("touchmove",function(e){ moveY= e.originalEvent.changedTouches[0].pageY; } ... 阅读全文
posted @ 2017-10-12 17:02 =DLSS=webZT 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 假设你有一个固定位置的标题栏,你的iOS10的CSS可能是这样写的: 为了自动调整iPhone X和其他iOS11设备,你可以在meta标签的viewport中添加viewport-fit="cover": 然后通过CSS的constant()修改padding-top的值: 对于不知道如何解决co 阅读全文
posted @ 2017-10-12 13:13 =DLSS=webZT 阅读(1243) 评论(0) 推荐(0) 编辑