document.writeln('');
当前位置:首页 > 免费源码

Loading加载动画效果

游戏科技网2026年09月14日 22:45免费源码70

HTML代码:

<div class="Loading">
<div class="Loading-warp">
<div class="color">zt</div>
<div class="Thread"></div>
</div>
</div>​
<div class="Loading">
<div class="Loading-warp">
<div class="color">zt</div>
<div class="Thread"></div>
</div>
</div>​
<div class="Loading"> <div class="Loading-warp"> <div class="color">zt</div> <div class="Thread"></div> </div> </div>​

CSS代码:

* {
padding:0;
margin:0;
list-style:none;
text-decoration:none;
}
.Loading {
width:100%;
height:100vh;
background-color:#5f5f5f;
position:fixed;
top:0;
left:0;
z-index:999999;
display:flex;
align-items:center;
justify-content:center;
/* display:none;
*/
}
.Loading-warp .color {
width:60px;
height:60px;
background:#D55921;
border-radius:15px;
margin:auto;
margin-bottom:35px;
color:#fff;
font-size:40px;
display:flex;
justify-content:center;
align-items:center;
animation:color 1.5s infinite ease;
transform:rotate(0deg);
}
.Loading-warp .Thread {
width:150px;
height:3px;
background-color:#cfcfcf;
position:relative;
overflow:hidden;
}
.Loading-warp .Thread:hover::after {
left:75%;
}
.Loading-warp .Thread::after {
content:"";
position:absolute;
left:-25%;
top:0;
width:50%;
height:100%;
background:firebrick;
animation:Loading 1.5s infinite ease;
}
@keyframes color {
0% {
background:firebrick;
transform:rotate(-360deg);
}
50% {
background:#D55921;
transform:rotate(0deg);
}
100% {
background:firebrick;
transform:rotate(-360deg);
}
}@keyframes Loading {
0% {
left:-25%;
background:firebrick;
}
50% {
left:75%;
background:#D55921;
}
100% {
left:-25%;
background:firebrick;
}
}​
* {
padding:0;
margin:0;
list-style:none;
text-decoration:none;
}
.Loading {
width:100%;
height:100vh;
background-color:#5f5f5f;
position:fixed;
top:0;
left:0;
z-index:999999;
display:flex;
align-items:center;
justify-content:center;
/* display:none;
*/
}
.Loading-warp .color {
width:60px;
height:60px;
background:#D55921;
border-radius:15px;
margin:auto;
margin-bottom:35px;
color:#fff;
font-size:40px;
display:flex;
justify-content:center;
align-items:center;
animation:color 1.5s infinite ease;
transform:rotate(0deg);
}
.Loading-warp .Thread {
width:150px;
height:3px;
background-color:#cfcfcf;
position:relative;
overflow:hidden;
}
.Loading-warp .Thread:hover::after {
left:75%;
}
.Loading-warp .Thread::after {
content:"";
position:absolute;
left:-25%;
top:0;
width:50%;
height:100%;
background:firebrick;
animation:Loading 1.5s infinite ease;
}
@keyframes color {
0% {
background:firebrick;
transform:rotate(-360deg);
}
50% {
background:#D55921;
transform:rotate(0deg);
}
100% {
background:firebrick;
transform:rotate(-360deg);
}
}@keyframes Loading {
0% {
left:-25%;
background:firebrick;
}
50% {
left:75%;
background:#D55921;
}
100% {
left:-25%;
background:firebrick;
}
}​
* { padding:0; margin:0; list-style:none; text-decoration:none; } .Loading { width:100%; height:100vh; background-color:#5f5f5f; position:fixed; top:0; left:0; z-index:999999; display:flex; align-items:center; justify-content:center; /* display:none; */ } .Loading-warp .color { width:60px; height:60px; background:#D55921; border-radius:15px; margin:auto; margin-bottom:35px; color:#fff; font-size:40px; display:flex; justify-content:center; align-items:center; animation:color 1.5s infinite ease; transform:rotate(0deg); } .Loading-warp .Thread { width:150px; height:3px; background-color:#cfcfcf; position:relative; overflow:hidden; } .Loading-warp .Thread:hover::after { left:75%; } .Loading-warp .Thread::after { content:""; position:absolute; left:-25%; top:0; width:50%; height:100%; background:firebrick; animation:Loading 1.5s infinite ease; } @keyframes color { 0% { background:firebrick; transform:rotate(-360deg); } 50% { background:#D55921; transform:rotate(0deg); } 100% { background:firebrick; transform:rotate(-360deg); } }@keyframes Loading { 0% { left:-25%; background:firebrick; } 50% { left:75%; background:#D55921; } 100% { left:-25%; background:firebrick; } }​

js代码:

$(.Loading).delay(5000).fadeOut(slow);​
$(.Loading).delay(5000).fadeOut(slow);​
$(.Loading).delay(5000).fadeOut(slow);​

 

“Loading加载动画效果” 的相关文章

0间隔24h采集线报+源码的资源网

0间隔24h采集线报+源码的资源网

1.更新下载类目的采集 及 导入 网站程序:jizhiCMS + 高仿新版某刀资源网模板 采集程序: 蓝天采集 + 已对接好资源站规则 网站图片及蓝天采集规则 安装教程在下面⬇⬇⬇⬇⬇⬇⬇                 链接:https://pan.baidu.com/s/1QFHWi3urqUAzGHxyco…

100多套官网HTML源码 前端静态页面源码

100多套官网HTML源码 前端静态页面源码

简介: 104套官网源码静态html页面APP下载页面HTML源码,多年收藏精品HTML官网源码104套所有行业均可修改使用。人工精选源码每一套都是精品,纯静态页面无后台 下载连接(复制直接下载) https://wp.123vo.cn/index/share/code/jq2ENvLPb1 内容看完了…

100+套官网HTML源码 前端静态页面源码

100+套官网HTML源码 前端静态页面源码

104套官网源码静态html页面APP下载页面HTML源码,多年收藏精品HTML官网源码104套所有行业均可修改使用。人工精选源码每一套都是精品,纯静态页面无后台…

123网盘

123网盘

简介:123网盘解析PHP版本源码是一种非常实用的工具,可以方便地帮助用户在网页上直接解析出其它网站中的资源,并提供下载链接。当用户需要获取某些资源时,往往需要通过各种搜索引擎或者专业的资源网站进行查找,而且很多时候找到了资源链接后还需要进行各种繁琐的操作才能完成下载。而使用 123网盘解析PHP版本源码,只需在相关网站上找到资源链接,然后粘贴到 123网盘解析PHP版本源码中进行解析,即可获得简…

123网盘在线解析PHP版源码

123网盘在线解析PHP版源码

123网盘解析PHP版本源码是一种非常实用的工具,可以方便地帮助用户在网页上直接解析出其它网站中的资源,并提供下载链接。当用户需要获取某些资源时,往往需要通过各种搜索引擎或者专业的资源网站进行查找,而且很多时候找到了资源链接后还需要进行各种繁琐的操作才能完成下载。而使用 123网盘解析PHP版本源码,只需在相关网站上找到资源链接,然后粘贴到 123网盘解析PHP版本源码中进行解析,即可获…

2019_SWAPIDC最新模板

2019_SWAPIDC最新模板

2019_SWAPIDC最新模板 使用方法:上传根目录/temples 解压即可   下载连接(复制直接下载) https://wp.123vo.cn/index/share/code/Y3iieuJNqd 内容看完了…