CSS 加载中动画
2023-12-30 21:59:00
<template>
<div class="loader">
<div class="justify-content-center jimu-primary-loading"></div>
</div>
</template>
<script>
</script>
<style>
.loader {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.jimu-primary-loading:before,
.jimu-primary-loading:after {
position: absolute;
top: 0;
content: '';
}
.jimu-primary-loading:before {
left: -19.992px;
}
.jimu-primary-loading:after {
left: 19.992px;
-webkit-animation-delay: 0.32s !important;
animation-delay: 0.32s !important;
}
.jimu-primary-loading:before,
.jimu-primary-loading:after,
.jimu-primary-loading {
background: #076fe5;
-webkit-animation: loading-keys-app-loading 0.8s infinite ease-in-out;
animation: loading-keys-app-loading 0.8s infinite ease-in-out;
width: 13.6px;
height: 32px;
}
.jimu-primary-loading {
text-indent: -9999em;
margin: auto;
position: absolute;
right: calc(50% - 6.8px);
top: calc(50% - 16px);
-webkit-animation-delay: 0.16s !important;
animation-delay: 0.16s !important;
}
@-webkit-keyframes loading-keys-app-loading {
0%,
80%,
100% {
opacity: .75;
box-shadow: 0 0 #076fe5;
height: 32px;
}
40% {
opacity: 1;
box-shadow: 0 -8px #076fe5;
height: 40px;
}
}
@keyframes loading-keys-app-loading {
0%,
80%,
100% {
opacity: .75;
box-shadow: 0 0 #076fe5;
height: 32px;
}
40% {
opacity: 1;
box-shadow: 0 -8px #076fe5;
height: 40px;
}
}
</style>
教学视频地址
文章来源:https://blog.csdn.net/weixin_54226053/article/details/135308970
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!