.lazy-loader__box {
    font-size: 20px; /* change size here */
    position: relative;
    width: 4em;
    height: 4em;
    margin: 10px auto;
}

.lazy-loader__dot {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    background: #555; /* change color here */
    position: absolute;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.lazy-loader__dot:nth-child(1),
.lazy-loader__dot:nth-child(2) {
    left: 0;
}

.lazy-loader__dot:nth-child(3) {
    left: 1.5em;
}

.lazy-loader__dot:nth-child(4) {
    left: 3em;
}

@keyframes lazyReveal {
    from {
        transform: scale(0.001);
    }
    to {
        transform: scale(1);
    }
}

@keyframes lazySlide {
    to {
        transform: translateX(1.5em)
    }
}

.lazy-loader__dot:nth-child(1) {
    animation-name: lazyReveal;
}

.lazy-loader__dot:nth-child(2),
.lazy-loader__dot:nth-child(3) {
    animation-name: lazySlide;
}

.lazy-loader__dot:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse;
}