zt
当前位置:首页 > 免费源码

Loading加载动画效果

游戏科技网2026年09月14日 22:45免费源码10
描述:HTML代码:<div class="Loading"><div class="Loading-warp"><div class="color">zt</div><div class="Thread"></div></di…

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;}.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加载动画效果” 的相关文章

(PC+WAP)微信小程序开发代理展示销售pbootcm网站模板 软件开发公司网站源码下载

(PC+WAP)微信小程序开发代理展示销售pbootcm网站模板 软件开发公司网站源码下载

pbootcms内核开发的网站模板,该模板适用于微信小程序网站、软件开发网站等企业,当然其他行业也可以做,只需要把文字图片换成其他行业的即可;PC+WAP,同一个后台,数据即时同步,简单适用!附带测试数据!友好的seo,所有页面均都能完全自定义标题/关键词/描述,PHP程序,安全、稳定、快速;用低成…

(PC+WAP)粉色家政服务公司网站模板 月嫂保姆网站源码下载

(PC+WAP)粉色家政服务公司网站模板 月嫂保姆网站源码下载

(PC+WAP)粉色家政服务公司网站模板 月嫂保姆网站源码下载pbootcms内核开发的网站模板,该模板适用于家政服务公司网站、月嫂保姆网站等企业,当然其他行业也可以做,只需要把文字图片换成其他行业的即可;PC+WAP,同一个后台,数据即时同步,简单适用!附带测试数据!友好的seo,所有页…

(PC+WAP)红色火锅加盟网站pbootcm模板 餐饮美食网站源码下载

(PC+WAP)红色火锅加盟网站pbootcm模板 餐饮美食网站源码下载

(PC+WAP)红色火锅加盟网站pbootcms模板 餐饮美食网站源码下载pbootcms内核开发的网站模板,该模板适用于火锅加盟网站、餐饮美食网站等企业,当然其他行业也可以做,只需要把文字图片换成其他行业的即可;PC+WAP,同一个后台,数据即时同步,简单适用!附带测试数据!友好的seo,所有页面…

(PC+WAP)绿色草坪地坪施工pbootcm网站模板 操场人造草坪网站源码下载

(PC+WAP)绿色草坪地坪施工pbootcm网站模板 操场人造草坪网站源码下载

(PC+WAP)绿色草坪地坪施工pbootcms网站模板 操场人造草坪网站源码下载pbootcms内核开发的网站模板,该模板适用于人造草坪网站、草坪地坪网站等企业,当然其他行业也可以做,只需要把文字图片换成其他行业的即可;PC+WAP,同一个后台,数据即时同步,简单适用!附带测试数据!友好的seo,…

(自适应手机版)响应式统一战线政府单位机构类网站源码 红色政府部门机构网站模板

(自适应手机版)响应式统一战线政府单位机构类网站源码 红色政府部门机构网站模板

本套织梦模板采用织梦最新内核开发的模板,这款模板使用范围广,不仅仅局限于一类型的企业,政府部门、单位机构类的网站都可以用该模板。你只需要把图片和文章内容换成你的即可,颜色都可以修改,改完让你耳目一新的感觉!布局规整,利于用户体验,手工书写DIV+CSS,代码精简。同一个后台管理 三网合一简…

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

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

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