本篇文章为Waxy主题设置中自定义CSS/JS的高级应用。

如何自定义网站静态背景?

首先进入主题设置 > 自定义JS ,中按需要填入下面的代码:
body {
	/*背景颜色*/
    background-color:#990505;
	/*背景图片url,可与上一项同时使用*/
    background-image: url(/usr/bg/5f6eeefb319ae1601105659386.jpg);
	/*背景图片重复方式,此处为不重复*/
    background-repeat: no-repeat;
	/*背景图片起始位置,此处为居中*/
    background-position: center;
	/*背景图片尺寸,此处为填充模式*/
    background-size: cover;
	/*背景图片是否滚动,此处为不滚动*/
    background-attachment: fixed;
}
更详细关于CSS样式的说明欢迎移步此处:**MDN Web Docs**