jQuery API Documentation.offset() | jQuery API Documentation2 天之前 · The .offset() method allows us to retrieve the current position of an element (specifically its border box, which excludes margins) relative to the document. Contrast this with .position(), btxun.com更多内容请查看https://api.jquery.com/offset/