SOURCE

console 命令行工具 X clear

                    
>
console
<div class="dot-w">
  <div class="dot"></div>
  <div class="dot"></div>
  <div class="dot"></div>
  <div class="dot"></div>
  <div class="dot"></div>
</div>

.dot-w {
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    bottom: 0;
    margin: auto;
}
.dot {
    width: 10px;
    height: 10px;
    background: #0be;
    border-radius: 55%;
    transform: translate(0, -50%);
    -webkit-animation: 3s linear loader infinite;
    animation: 3s linear loader infinite;
    position: absolute;
    top: 0;
}
.dot:nth-child(1) {
    left: 0;
}
.dot:nth-child(2) {
    left: -20px;
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}
.dot:nth-child(3) {
    left: -40px;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.dot:nth-child(4) {
    left: -60px;
    -webkit-animation-delay: 0.45s;
    animation-delay: 0.45s;
}
.dot:nth-child(5) {
    left: -80px;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

@-webkit-keyframes loader {
    0%, 20% {
        transform: translateX(0);
        opacity: 0;
    }
    40% {
        transform: translateX(55vw);
        opacity: 1;
    }
    60% {
        transform: translateX(60vw);
        opacity: 1;
    }
    80%, 100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}
@keyframes loader {
    0%, 20% {
        transform: translateX(0);
        opacity: 0;
    }
    40% {
        transform: translateX(55vw);
        opacity: 1;
    }
    60% {
        transform: translateX(60vw);
        opacity: 1;
    }
    80%, 100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}