Video - https://atproducts.xyz/media/Screen%20recording%202022-11-14%2011.33.21.webm
Code - https://github.com/Alex-Toucan/atproducts.xyz/blob/main/index.html(太大,不适合这篇文章)
大家好,StackOverflow社区。我有一个问题,其中一个重定向到页面的一部分过去说的部分。我认为这主要是由于填充身体,使固定顶部导航条的工作。提前谢谢。
结果,我只需要将scroll-padding-top:56px;
添加到html
标签。