1 Star 19 Fork 6

gumingchen/chatterbox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 2.79 KB
一键复制 编辑 原始数据 按行查看 历史
gumingchen 提交于 2024-06-30 08:51 . update
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chatterbox</title>
<style>
#app > .loading {
font-family: 'JoinedUp';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 60px;
font-weight: bold;
color: black;
display: flex;
align-items: center;
}
#app > .loading > .logo {
width: 120px;
height: 120px;
}
#app > .loading > span {
position: relative;
display: inline-block;
animation: wavyAnimate 1.5s ease-in-out infinite;
}
#app > .loading > .character-0 {
animation-delay: calc(0.1s * 0);
}
#app > .loading > .character-1 {
animation-delay: calc(0.1s * 1);
}
#app > .loading > .character-2 {
animation-delay: calc(0.1s * 2);
}
#app > .loading > .character-3 {
animation-delay: calc(0.1s * 3);
}
#app > .loading > .character-4 {
animation-delay: calc(0.1s * 4);
}
#app > .loading > .character-5 {
animation-delay: calc(0.1s * 5);
}
#app > .loading > .character-6 {
animation-delay: calc(0.1s * 6);
}
#app > .loading > .character-7 {
animation-delay: calc(0.1s * 7);
}
#app > .loading > .character-8 {
animation-delay: calc(0.1s * 8);
}
#app > .loading > .character-9 {
animation-delay: calc(0.1s * 9);
}
@keyframes wavyAnimate {
0%,45%,100%{
transform: translateY(0);
}
90%{
transform: translateY(-4px);
}
}
</style>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?bd3b06d3a76d7ce180ccd213e2170937";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div id="app">
<div class="loading">
<img class="logo" src="https://chatterbox.gumingchen.icu/resource/static/logo-black.png" />
<span class="character-0">C</span>
<span class="character-1">h</span>
<span class="character-2">a</span>
<span class="character-3">t</span>
<span class="character-4">t</span>
<span class="character-5">e</span>
<span class="character-6">r</span>
<span class="character-7">b</span>
<span class="character-8">o</span>
<span class="character-9">x</span>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/shychen/chatterbox.git
[email protected]:shychen/chatterbox.git
shychen
chatterbox
chatterbox
master

搜索帮助