Came across live2d, the second element of magic ah
Add the following code to code in the footer Html:
<link rel="stylesheet" type="text/css" href="https://blog-static.cnblogs.com/files/cyuanwu/waifu.css"/> <link rel="stylesheet" type="text/css" href="https://blog-static.cnblogs.com/files/cyuanwu/flat-ui.min.css"/> <div class="waifu">
<div class="waifu-tips"></div>
<canvas id="live2d" width="280" height="250" class="live2d"></canvas>
<div class="waifu-tool">
<span class="fui-home"></span>
<span class="fui-chat"></span>
<span class="fui-eye"></span>
<span class="fui-user"></span>
<span class="fui-photo"></span>
<span class="fui-info-circle"></span>
<span class="fui-cross"></span>
</div>
</div> <script src="https://blog-static.cnblogs.com/files/cyuanwu/waifu-tips.js"></script> <script src="https://blog-static.cnblogs.com/files/cyuanwu/live2d.js"></script> <script type="text/javascript">initModel()</script>
live2d official website: http: //www.live2d.com/ja/
Reference Tutorial:
1. https://imjad.cn/archives/lab/add-dynamic-poster-girl-with-live2d-to-your-blog-01
Thank big brother (represented really want to platelets, but not enough level, can not read ah)
2. https://www.fghrsh.net/post/123.html
Reprinted from: https://www.cnblogs.com/cyuanwu/p/9784031.html