我正在尝试围绕 tumblr 网站的 iPad PNG/背景图像像素大小限制完成一项工作。该网站的内容区域使用无限滚动功能,并具有巨大的垂直背景,向下滚动时会显示更多字符。
我已经将背景图像分解为多个 png,并设置了位置,一切看起来都很棒.. 然而,我不知道的最后一件事是如何让整个集群重复。如果我设置背景重复:重复-Y;所有图像都堆叠在一起。
谢谢,代码打击:
老鼠
#contnetAreaBack {
margin-left:auto;
margin-right:auto;
background-image:url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_01.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_02.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_03.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_04.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_05.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_06.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_07.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_08.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_09.png'), url('http://www.dratsum.com/clientDev/cartoonNetwork/2012-09-11-SuperJail-Tumblr/images/ContentBg_10.png');
background-position:center 0px, center 1000px, center 2000px, center 3000px, center 4000px, center 5000px, center 6000px, center 7000px, center 8000px, center 9000px;
background-size: auto auto;
background-repeat: no-repeat;
background-attachment:scroll;
width:100%;
padding-bottom:500px;
overflow-x:hidden;
}