Mother billboards Code

Transfer: https://www.cnblogs.com/hean/p/11167216.html

You need three files and an optional file

waifu.css (Kanban Mother of the page position and size)

waifu-tips.js (Kanban mother language setting)

live2d.min.js (some actions after the click)

  • flat-ui.min.css (Kanban Mother options PS: the right option, no operation can be omitted)

Links: https://pan.baidu.com/s/1xkC9jO6xXhz0d8OJEw1XzQ
extraction code: 5j68

First, the downloadable archive decompression

Second, upload all the files to the file management of them among the blog garden

Third, look to copy the code to the blog sidebar notice must also required (HTML is) certainly needs (support JS code)

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Live2D</title>

<link rel="stylesheet" type="text/css" href="https://blog-static.cnblogs.com/files/自己博客的Blog地址名/waifu.css"/>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<link rel="stylesheet" type="text/css" href="https://blog-static.cnblogs.com/files/自己博客的Blog地址名/waifu.css">
<div class="waifu" id="waifu">
<div class="waifu-tips" style="opacity: 1;"></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/自己博客的Blog地址名/live2d.min.js"></script>
<script src="https://blog-static.cnblogs.com/files/自己博客的Blog地址名/waifu-tips.js"></script>
<script type="text/javascript">initModel()</script>
</body>
</html>
<link rel="stylesheet" type="text/css" href="https://blog-static.cnblogs.com/files/自己博客的Blog地址名/flat-ui.min.css"/>

Guess you like

Origin www.cnblogs.com/zzy1024/p/11486432.html