43 Star 958 Fork 271

德育处主任/前端数据可视化

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
L49.vue 1.70 KB
一键复制 编辑 原始数据 按行查看 历史
德育处主任 提交于 2021-11-30 13:52 +08:00 . Loading 49
<template>
<div class="com__box">
<!-- loading -->
<div class="loading">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<!-- 说明:组件名 -->
<h4 class="explain">L49.vue</h4>
</div>
</template>
<style lang="scss" scoped>
.loading,
.loading > div {
position: relative;
box-sizing: border-box;
}
.loading {
display: block;
font-size: 0;
color: #000;
}
.loading.la-dark {
color: #333;
}
.loading > div {
display: inline-block;
float: none;
background-color: currentColor;
border: 0 solid currentColor;
}
.loading {
width: 40px;
height: 32px;
}
.loading > div {
width: 4px;
height: 32px;
margin: 2px;
margin-top: 0;
margin-bottom: 0;
border-radius: 0;
animation: line-scale-pulse-out 0.9s infinite
cubic-bezier(0.85, 0.25, 0.37, 0.85);
}
.loading > div:nth-child(3) {
animation-delay: -0.9s;
}
.loading > div:nth-child(2),
.loading > div:nth-child(4) {
animation-delay: -0.7s;
}
.loading > div:nth-child(1),
.loading > div:nth-child(5) {
animation-delay: -0.5s;
}
.loading.la-sm {
width: 20px;
height: 16px;
}
.loading.la-sm > div {
width: 2px;
height: 16px;
margin: 1px;
margin-top: 0;
margin-bottom: 0;
}
.loading.la-2x {
width: 80px;
height: 64px;
}
.loading.la-2x > div {
width: 8px;
height: 64px;
margin: 4px;
margin-top: 0;
margin-bottom: 0;
}
.loading.la-3x {
width: 120px;
height: 96px;
}
.loading.la-3x > div {
width: 12px;
height: 96px;
margin: 6px;
margin-top: 0;
margin-bottom: 0;
}
@keyframes line-scale-pulse-out {
0% {
transform: scaley(1);
}
50% {
transform: scaley(0.3);
}
100% {
transform: scaley(1);
}
}
</style>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/k21vin/front-end-data-visualization.git
git@gitee.com:k21vin/front-end-data-visualization.git
k21vin
front-end-data-visualization
前端数据可视化
master

搜索帮助