滚动缓慢且滞后,为什么?
我目前正在开发一个网站,您可以在[此处]找到它!
它正在进行中,但我仍然可以弄清楚为什么滚动如此慢。
我完全意识到我需要缩小我的 JS,并且可能使用一些 head.js 魔法来减少加载时间。
此外,我在网站上使用字体,文本需要很长时间才能显示,有没有办法减少这种情况?
感谢您的时间和耐心。
I'm currently developing a website, you can find it [here] !
It's work in progress but still I can figure out why the scroll is so slow.
I'm totaly aware that I will need to minified my JS and probably use some of the head.js magic to reduce loading time.
Moreover, I'm using font-face on the website and the text takes ages to be displayed, is there a way of reducing that ?
Thanks for your time and patience.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是因为您在 body 标记上设置了
position:relative;
,在 html 标记上设置了overflow-y:scroll;
。我没有看到
position:relative;
对 body 的任何影响,所以我想说只需将其删除并将overflow-y:scroll;
从 html 移动到 body 标记即可It is because you set
position: relative;
on body tag andoverflow-y: scroll;
on html tag.I don't see any effect of
position: relative;
on body so I would say just remove it and moveoverflow-y: scroll;
from html to body tag