关於Blog

来源:百度知道 编辑:UC知道 时间:2024/06/14 09:07:44
请问如何将博客风格里面得背景图案设置成页面移动背景得图案也跟随移动的效果呢?!谢谢```可能解释不清楚````
就好像这个blog的背景图似的
http://smile.ll17.blog.163.com/

这个是通过css来设置的 具体代码类似如下:
background-image:url("图片地址"); background-repeat:no-repeat; background-attachment:fixed;

背景附着属性(background-attachment)
这个属性有两个值,一个是scroll,一个是fixed。缺省值是scroll