怎样通过css设置网页背景为线性

来源:百度知道 编辑:UC知道 时间:2024/06/03 13:59:35

你是说那种线条吗?
很简单,repeat一下就行了。
比如这个:http://slimblog.cn/v2.htm
用到一个图片,http://slimblog.cn/images/body_bg.png
css控制代码是:
body {
background: url("images/body_bg.png") repeat;
}

语句最后的repeat意思是水平x和垂直y都repeat
具体的你查一下就知道了