jQuery中的css相关方法 2019-05-16 本文已影响0人 冷月成双 1.offset()方法 获取元素top和left,只对可见元素有效 2. position()方法 3.scrollTop()和srollLeft()