1 Star 0 Fork 10

徒步青年i/vue3

forked from JGDT/vue3 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 2.81 KB
一键复制 编辑 原始数据 按行查看 历史
jia58960 提交于 2023-06-05 14:27 . for pr test
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
<%= title %>
</title>
</head>
<body>
<div id="app">
<style>
.app-loading {
background: #222;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
h2 {
color: #ccc;
margin: 0;
font: .8em verdana;
text-transform: uppercase;
letter-spacing: .1em;
}
/*
* Loading Dots
* Can we use pseudo elements here instead :after?
*/
.loading span {
display: inline-block;
vertical-align: middle;
width: .6em;
height: .6em;
margin: .19em;
background: #007DB6;
border-radius: .6em;
-webkit-animation: loading 1s infinite alternate;
animation: loading 1s infinite alternate;
}
/*
* Dots Colors
* Smarter targeting vs nth-of-type?
*/
.loading span:nth-of-type(2) {
background: #008FB2;
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
.loading span:nth-of-type(3) {
background: #009B9E;
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
.loading span:nth-of-type(4) {
background: #00A77D;
-webkit-animation-delay: 0.6s;
animation-delay: 0.6s;
}
.loading span:nth-of-type(5) {
background: #00B247;
-webkit-animation-delay: 0.8s;
animation-delay: 0.8s;
}
.loading span:nth-of-type(6) {
background: #5AB027;
-webkit-animation-delay: 1.0s;
animation-delay: 1.0s;
}
.loading span:nth-of-type(7) {
background: #A0B61E;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s;
}
/*
* Animation keyframes
* Use transition opacity instead of keyframes?
*/
@-webkit-keyframes loading {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes loading {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
</style>
<div class="app-loading">
<div class="app-loading-wrap">
<div class="loading">
<h2>
<%= title %>
</h2>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaolin1129/vue3.git
git@gitee.com:xiaolin1129/vue3.git
xiaolin1129
vue3
vue3
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385