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工作流
1个黑发带着耳机项链的女孩ComfyUI工作流
一尊白玉猴王ComfyUI工作流
一尊白玉佛像ComfyUI工作流
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

数字滚动效果(兼容IE6/IE8)
用svg画出游泳池动画效果
黑客入侵效果代码
利用js做一个炫酷音乐背景效果
纯css3绘制的小鸟
在线生成金属文字
一个包含老黄历、佛历、道历、星宿等数据的日历网站
如何利用svg做一个有趣的loading动画加载











