hexo笔记五:next主题添加背景动画

next主题默认有4种背景动画。
默认不添加动画的场景:
在这里插入图片描述
更改主题配置文件即可设置背景动画(完成修改后,要执行hexo g命令才能看到效果):

cd 博客目录
vim themes/next/_config.yml

# 将配置文件中的下列选项中的一个设置为true即可,我都试过了,但是背景都不咋好看
# Canvas-nest
canvas_nest: false

# three_waves
three_waves: false

# canvas_lines
canvas_lines: false

# canvas_sphere
canvas_sphere: false

canvas_nest背景效果:
在这里插入图片描述
three_waves背景效果:
在这里插入图片描述
canvas_lines背景效果:
在这里插入图片描述
canvas_sphere背景效果:
在这里插入图片描述
把上面四个全部设置为true的效果(巨TM花里胡哨,建议只设置一个即可):
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/Awt_FuDongLai/article/details/107424935