Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何保持恒定的背景,这样当您向下滚动页面时,似乎一切都在移动,但背景图像......基本上是静态背景。
这是一个 CSS 属性,名为background-attachment: fixed; Use it with the background-imageattribute in the same element。
background-attachment: fixed;
background-image