2019年11月20日的文章

web前端

id锚点定位并加上偏移量的

Coder.Bing 发布于 2019-11-20 06:56:20

通常锚点定位我们用通常锚点定位我们用 location.href = "#elementid"; 但当有固定的header时,有可呢会被header覆盖。 解决方法: 页面将滑动至指定元素id处 $(…

赞 (0)