css代码:
body {
background:#1b1d1f;
display:flex;
justify-content:center;
align-items:center;
height:100vh;
padding:0;
margin:0
}
.loader {
width:250px;
height:50px;
line-height:50px;
text-align:center;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
font-family:helvetica,arial,sans-serif;
text-transform:uppercase;
font-weight:900;
color:#f1404b;
letter-spacing:0.2em
}
.loader::before,.loader::after {
content:"";
display:block;
width:15px;
height:15px;
background:#f1404b;
position:absolute;
animation:load .7s infinite alternate ease-in-out
}
.loader::before {
top:0
}
.loader::after {
bottom:0
}
@keyframes load {
0% {
left:0;
height:30px;
width:15px
}
50% {
height:8px;
width:40px
}
100% {
left:235px;
height:30px;
width:15px
}
}
html代码:
<div id="loading"> <div class="loader">Loading...</div> </div>
上面是“网站加载中loading..样式四代码介绍”的全面内容,想了解更多关于 前端知识 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_13323.html
workflows工作流
蘑菇屋,梦幻家园comfyui工作流
图生图生成动漫效果ComfyUI工作流
一座千年九尾白狐玉雕ComfyUI工作流
树上挂着一只快乐香蕉ComfyUI工作流一
一架令人难忘的美丽钢琴ComfyUI工作流
三阶放大comfyui工作流
汉堡里的一只毛茸茸的小猫ComfyUI工作流
一座精致透明的白瓷人物雕塑comfyui工作流
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

css3做一个风雨雷电天气动态图标
一个包含老黄历、佛历、道历、星宿等数据的日历网站
HTML5 Canvas 刻度尺
制作一个好玩的倒计时
自动打字效果(惊喜在后面)
css3卡片动态滑动效果
利用js做一个炫酷音乐背景效果
数字滚动效果(兼容IE6/IE8)










