mirror of
https://github.com/stevenjoezhang/live2d-widget.git
synced 2024-11-24 22:00:32 +08:00
Rename demo
This commit is contained in:
parent
a48e57d1c6
commit
abf1b9e699
@ -23,8 +23,8 @@ Add Live2D widget to web page. Compatible with PJAX.
|
|||||||
|
|
||||||
你也可以在允许的范围内进行二次开发,这里有一些示例
|
你也可以在允许的范围内进行二次开发,这里有一些示例
|
||||||
|
|
||||||
- [demo1.html](https://mi.js.org/live2d-widget/demo/demo1.html) ,展现基础效果
|
- [demo.html](https://mi.js.org/live2d-widget/demo/demo.html) ,展现基础效果
|
||||||
- [demo2.html](https://mi.js.org/live2d-widget/demo/demo2.html) ,仿 NPM 的登陆界面
|
- [login.html](https://mi.js.org/live2d-widget/demo/login.html) ,仿 NPM 的登陆界面
|
||||||
|
|
||||||
## 依赖 Dependencies
|
## 依赖 Dependencies
|
||||||
|
|
||||||
|
@ -114,6 +114,8 @@ body {
|
|||||||
}
|
}
|
||||||
#live2d {
|
#live2d {
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
|
height: 300px;
|
||||||
|
width: 300px;
|
||||||
}
|
}
|
||||||
#live2d:active {
|
#live2d:active {
|
||||||
cursor: grabbing;
|
cursor: grabbing;
|
||||||
@ -126,12 +128,12 @@ body {
|
|||||||
<div id="inner">
|
<div id="inner">
|
||||||
<div id="cover">
|
<div id="cover">
|
||||||
<div id="text">
|
<div id="text">
|
||||||
<span style="color: cyan;">MIMI</span><span style="color: white">POWERED</span>
|
<span style="color: cyan;">MIMI</span><span style="color: white;">POWERED</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="detail"></div>
|
<div id="detail"></div>
|
||||||
<div id="handle"></div>
|
<div id="handle"></div>
|
||||||
</div>
|
</div>
|
||||||
<canvas class="mb-4" id="live2d" width="300" height="300"></canvas>
|
<canvas class="mb-4" id="live2d" width="800" height="800"></canvas>
|
||||||
</div>
|
</div>
|
||||||
<a id="info" href="javascript:info()"><i class="fa fa-lg fa-info"></i></a>
|
<a id="info" href="javascript:info()"><i class="fa fa-lg fa-info"></i></a>
|
||||||
<a id="refresh" href="javascript:refresh()"><i class="fa fa-lg fa-refresh"></i></a>
|
<a id="refresh" href="javascript:refresh()"><i class="fa fa-lg fa-refresh"></i></a>
|
Loading…
Reference in New Issue
Block a user