移动端(webapp)自适应js

var a = r.getBoundingClientRect().width;javascript alert(box.getBoundingClientRect().top); // 元素上边距离页面上边的距离java alert(box.getBoundingClientRect().right); // 元素右边距离页面左边的距离web alert(box.getBoundingClien
相关文章
相关标签/搜索