1 Star 0 Fork 170

xos/koi-ui

forked from 于心/koi-ui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 5.27 KB
一键复制 编辑 原始数据 按行查看 历史
于心 提交于 2023-11-23 20:13 . 👻feat: 第一次大版本更新
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/public/vite.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>YU-ADMIN</title>
<!-- 加载第一步开始 -->
<style>
.preloader {
background: #5838fc;
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
z-index: 9999;
}
.loaderInner {
width: 70px;
height: 60px;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
}
.mask {
position: absolute;
border-radius: 2px;
overflow: hidden;
-webkit-perspective: 1000;
perspective: 1000;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.plane {
background: #fff;
width: 400%;
height: 100%;
position: absolute;
-webkit-transform: translate3d(0px, 0, 0);
transform: translate3d(0px, 0, 0);
/*transition: all 0.8s ease; */
z-index: 100;
-webkit-perspective: 1000;
perspective: 1000;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.animation {
transition: all 0.3s ease;
}
#top .plane {
z-index: 2000;
-webkit-animation: trans1 1.3s ease-in infinite 0s backwards;
animation: trans1 1.3s ease-in infinite 0s backwards;
}
#middle .plane {
-webkit-transform: translate3d(0px, 0, 0);
transform: translate3d(0px, 0, 0);
background: #fff;
-webkit-animation: trans2 1.3s linear infinite 0.3s backwards;
animation: trans2 1.3s linear infinite 0.3s backwards;
}
#bottom .plane {
z-index: 2000;
-webkit-animation: trans3 1.3s ease-out infinite 0.7s backwards;
animation: trans3 1.3s ease-out infinite 0.7s backwards;
}
#top {
width: 53px;
height: 20px;
left: 20px;
-webkit-transform: skew(-15deg, 0);
transform: skew(-15deg, 0);
z-index: 100;
}
#middle {
width: 33px;
height: 20px;
left: 20px;
top: 15px;
-webkit-transform: skew(-15deg, 40deg);
transform: skew(-15deg, 40deg);
}
#bottom {
width: 53px;
height: 20px;
top: 30px;
-webkit-transform: skew(-15deg, 0);
transform: skew(-15deg, 0);
}
.preloader p {
color: #fff;
position: absolute;
left: -50px;
top: 60px;
text-align: center;
font-size: 11px;
font-weight: 600;
font-style: italic;
letter-spacing: 0.5px;
text-transform: uppercase;
margin: 0;
width: 200px;
}
@-webkit-keyframes trans1 {
from {
-webkit-transform: translate3d(53px, 0, 0);
transform: translate3d(53px, 0, 0);
}
to {
-webkit-transform: translate3d(-250px, 0, 0);
transform: translate3d(-250px, 0, 0);
}
}
@keyframes trans1 {
from {
-webkit-transform: translate3d(53px, 0, 0);
transform: translate3d(53px, 0, 0);
}
to {
-webkit-transform: translate3d(-250px, 0, 0);
transform: translate3d(-250px, 0, 0);
}
}
@-webkit-keyframes trans2 {
from {
-webkit-transform: translate3d(-160px, 0, 0);
transform: translate3d(-160px, 0, 0);
}
to {
-webkit-transform: translate3d(53px, 0, 0);
transform: translate3d(53px, 0, 0);
}
}
@keyframes trans2 {
from {
-webkit-transform: translate3d(-160px, 0, 0);
transform: translate3d(-160px, 0, 0);
}
to {
-webkit-transform: translate3d(53px, 0, 0);
transform: translate3d(53px, 0, 0);
}
}
@-webkit-keyframes trans3 {
from {
-webkit-transform: translate3d(53px, 0, 0);
transform: translate3d(53px, 0, 0);
}
to {
-webkit-transform: translate3d(-220px, 0, 0);
transform: translate3d(-220px, 0, 0);
}
}
@keyframes trans3 {
from {
-webkit-transform: translate3d(53px, 0, 0);
transform: translate3d(53px, 0, 0);
}
to {
-webkit-transform: translate3d(-220px, 0, 0);
transform: translate3d(-220px, 0, 0);
}
}
</style>
<!-- 加载第一步结束 -->
</head>
<body>
<div id="app">
<!-- 第二步开始 -->
<div class="preloader" style="/* display: none; */">
<div class="loaderInner">
<div id="top" class="mask">
<div class="plane"></div>
</div>
<div id="middle" class="mask">
<div class="plane"></div>
</div>
<div id="bottom" class="mask">
<div class="plane"></div>
</div>
<p>美好的事情即将发生,请耐心等待...</p>
</div>
</div>
<!-- 第二步结束 -->
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lin-jiming/koi-ui.git
git@gitee.com:lin-jiming/koi-ui.git
lin-jiming
koi-ui
koi-ui
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385