0

我正在尝试设置像http://bklynsoap.com/这样的背景图像,并在它下面有内容。图像不需要缩放到页面,但我希望它填充初始浏览器屏幕。我尝试查看他们的源代码以了解他们是如何做到的,但没有运气。谁能引导我朝着正确的方向前进?提前致谢!

4

1 回答 1

0

Look into their JS file.

It sets the dimensions of the first (top) <div>, and fills it out with an image. A timer is set upon page load, and after 10 seconds the window is scrolled down to the next <div>.

于 2013-03-06T17:53:12.010 回答