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工作流
ai图片扩大comfyui工作流
羚羊安上小白兔的门牙ComfyUI工作流
一名男子跪在月球岩石表面看见小行星碰撞
一条色彩斑斓的超现实小孔雀鱼ComfyUI工作流
一个黑人在森林中穿着折纸的衣服ComfyUI工作流
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

利用CSS3做一个星级评分样式
如何利用svg做一个有趣的loading动画加载
利用js做一个炫酷音乐背景效果
barcode条形码/qrcode二维码兼容所有浏览器(含ie6/ie7/ie8)
用canvas实现画板涂鸦效果
做一个好玩的时钟翻牌效果
一个包含老黄历、佛历、道历、星宿等数据的日历网站
canvas黑洞漩涡(canvas+js)










