点状loadding加载动画
代码语言:html
所属分类:加载滚动
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dots Loader</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<style>
html,
body {
height: 100%;
}
body {
background: #000;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.four {
width: 0px;
height: 0px;
position: fixed;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
.four .dot {
width: 4px;
height: 4px;
background: #fff;
border-radius: 50%;
position: absolute;
}
.four .dot.d1 {
left: -2px;
top: -2px;
}
.four .dot.d2 {
right: -2px;
top: -2px;
}
.four .dot.d3 {
left: -2px;
bottom: -2px;
}
.four .dot.d4 {
right: -2px;
bottom: -2px;
}
.four .dot.d5 {
right: -2px;
bottom: -2px;
}
.four .dot.d7 {
left: -2px;
bottom: -2px;
}
.four .dot.d8 {
right: -2px;
top: -2px;
}
.four .dot.d9 {
left: -2px;
top: -2px;
}
.four .dot.d10 {
right: -42px;
bottom: -42px;
width: 0;
height: 0;
}
.four .dot.d11 {
left: -52px;
bottom: -2px;
opacity: 0;
}
.four .dot.d12 {
right: -52px;
top: -2px;
opacity: 0;
}
.four .dot.d13 {
right: -52px;
top: -2px;
opacity: 0;
}
.four .dot.d14 {
left: -2px;
bottom: -52px;
opacity: 0;
}
.four .dot.d15 {
right: -2px;
top: -52px;
opacity: 0;
}
.four .dot.d16 {
left: -52px;
bottom: -2px;
opacity: 0;
}
.four .dot.d17 {
right: 88px;
top: -44px;
opacity: 0;
}
.four .dot.d18 {
left: 47px;
bottom: -51px;
opacity: 0;
}
.four .dot.d19 {
bottom: -51px;
left: -2px;
opacity: 0;
}
.four .dot.d20 {
left: -51px;
bottom: -2px;
opacity: 0;
}
.four .dot.d21 {
left: -52px;
top: -1px;
opacity: 0;
}
.four .dot.d22 {
top: -52px;
right: -2px;
opacity: 0;
}
.four .dot.d23 {
right: 48px;
top: -52px;
opacity: 0;
}
.four .dot.d24 {
right: -50px;
bottom: 48px;
opacity: 0;
}
.four .dot.d25 {
right: -51px;
top: 47px;
opacity: 0;
}
.four .circle {
width: 4px;
height: 4px;
border: 2px solid #fff;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transform: translate(-50%, -50%);
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0