css代码|给网站加个背景图

时间:2年前   阅读:454
	<style>
	body:before {
content: " ";
position: fixed;
z-index: -1;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: url(http://kxq6ioll5fdlw9dfa4.dijiawangluo.asdasdasgdfs.xyz/template/zshaowl-1/img/xr123.gif) center 0 no-repeat;
background-size: cover;
opacity: .3;
}
</style>

修改上面图片网址,就可以

css代码|给网站加个背景图

上一篇:网站常用颜色代码

下一篇:php代码|显示在线人数

网友评论