-1
我需要为我的网站背景设置颜色和图案,但我不知道如何。 有人可以帮助我吗? 由于事先背景图案和颜色
我需要为我的网站背景设置颜色和图案,但我不知道如何。 有人可以帮助我吗? 由于事先背景图案和颜色
如有疑问,请阅读手册:http://www.w3.org/TR/css3-background/
#myElement{
/* composite statement for background */
background: #ff0000 url(some url) repeat-x top left;
}
#myElement{
/* individual statements */
background: white url("pendant.png");
background-repeat: repeat-y;
background-position: center;
}
在这两种情况下,许多选择和组合使用。