摘要:
文档视图(DocumentView)和元素视图(ElementView)旗下有四个方法,如下:elementFromPoint()返回给定坐标处所在的元素。是个在目前而言,兼容性不错的方法getBoundingClientRect() 得到矩形元素的界线,返回的是一个对象,包含top,left,ri... 阅读全文
摘要:
方式一:document.body.addEventListener('touchstart', function () { });方式二:-webkit-tap-highlight-color:transparent;来源:http://www.jb51.net/css/229841.html 阅读全文