5

【笔记】NexT8.8实现结冰特效

 2 years ago
source link: https://feiju12138.github.io/2022/08/06/NexT8-8%E5%AE%9E%E7%8E%B0%E7%BB%93%E5%86%B0%E7%89%B9%E6%95%88/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【笔记】NexT8.8实现结冰特效

2022-08-06

1

这是在Bing官网发现的结冰特效,直接扒下来了源码

引入到博客

  • 在NexT8.8中引入,先在主题配置中解除一个自定义页面的注释

hexo/_config.next.yml

custom_file_path:
header: source/_data/header.njk
  • 然后引入freeze.css文件

source/_data/header.njk

<!-- 加载结冰特效 -->
<link rel="stylesheet" href="/freeze/index.css">
<div class="hp_special_experience">
<div class="hol_frames_cont">
<div class="frame fader frost show">
<div class="frame_sprite frame_left"></div>
<div class="frame_sprite frame_right"></div>
<div class="frame_sprite frame_top"></div>
<div class="frame_sprite frame_bottom"></div>
</div>
</div>
</div>

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK