From abf1b9e69923a1e2e3f96e8b0b81466ea6c49fe7 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sat, 18 Apr 2020 14:13:16 +0800 Subject: [PATCH] Rename demo --- README.md | 4 ++-- demo/{demo1.html => demo.html} | 0 demo/{demo2.html => login.html} | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) rename demo/{demo1.html => demo.html} (100%) rename demo/{demo2.html => login.html} (98%) diff --git a/README.md b/README.md index 1e0cc45..c1713ac 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ Add Live2D widget to web page. Compatible with PJAX. 你也可以在允许的范围内进行二次开发,这里有一些示例 -- [demo1.html](https://mi.js.org/live2d-widget/demo/demo1.html) ,展现基础效果 -- [demo2.html](https://mi.js.org/live2d-widget/demo/demo2.html) ,仿 NPM 的登陆界面 +- [demo.html](https://mi.js.org/live2d-widget/demo/demo.html) ,展现基础效果 +- [login.html](https://mi.js.org/live2d-widget/demo/login.html) ,仿 NPM 的登陆界面 ## 依赖 Dependencies diff --git a/demo/demo1.html b/demo/demo.html similarity index 100% rename from demo/demo1.html rename to demo/demo.html diff --git a/demo/demo2.html b/demo/login.html similarity index 98% rename from demo/demo2.html rename to demo/login.html index 9768fa4..ceddba7 100755 --- a/demo/demo2.html +++ b/demo/login.html @@ -114,6 +114,8 @@ body { } #live2d { cursor: grab; + height: 300px; + width: 300px; } #live2d:active { cursor: grabbing; @@ -126,12 +128,12 @@ body {