1 Star 4 Fork 1

Lanwarf/vue-lanwarf-cesium

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 2.52 KB
一键复制 编辑 原始数据 按行查看 历史
<!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>
body {
margin: 0;
padding: 0;
height: 100vh;
}
#app {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.trinity-rings-spinner, .trinity-rings-spinner * {
box-sizing: border-box;
}
.trinity-rings-spinner {
height: 66px;
width: 66px;
padding: 3px;
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
overflow: hidden;
box-sizing: border-box;
}
.trinity-rings-spinner .circle {
position:absolute;
display:block;
border-radius:50%;
border: 3px solid #2b75f4;
opacity: 1;
}
.trinity-rings-spinner .circle:nth-child(1) {
height: 60px;
width: 60px;
animation : trinity-rings-spinner-circle1-animation 1.5s infinite linear;
border-width: 3px;
}
.trinity-rings-spinner .circle:nth-child(2) {
height: calc(60px * 0.65);
width: calc(60px * 0.65);
animation : trinity-rings-spinner-circle2-animation 1.5s infinite linear;
border-width: 2px;
}
.trinity-rings-spinner .circle:nth-child(3) {
height: calc(60px * 0.1);
width: calc(60px * 0.1);
animation:trinity-rings-spinner-circle3-animation 1.5s infinite linear;
border-width: 1px;
}
@keyframes trinity-rings-spinner-circle1-animation{
0% {
transform: rotateZ(20deg) rotateY(0deg);
}
100% {
transform: rotateZ(100deg) rotateY(360deg);
}
}
@keyframes trinity-rings-spinner-circle2-animation{
0% {
transform: rotateZ(100deg) rotateX(0deg);
}
100% {
transform: rotateZ(0deg) rotateX(360deg);
}
}
@keyframes trinity-rings-spinner-circle3-animation{
0% {
transform: rotateZ(100deg) rotateX(-360deg);
}
100% {
transform: rotateZ(-360deg) rotateX(360deg);
}
}
</style>
<div class="trinity-rings-spinner">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Lanwarf/vue-lanwarf-cesium.git
git@gitee.com:Lanwarf/vue-lanwarf-cesium.git
Lanwarf
vue-lanwarf-cesium
vue-lanwarf-cesium
master

搜索帮助