<div class="preload">
    <div class="preload-status">
        <div class="preload-status-bar"></div>
        <div class="preload-status-info">LOADING</div>
    </div>
</div>
*, *:before, *:after {
    box-sizing: border-box;
}

html, body {
    font-family: sans-serif;
    background: #111;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width:  100vw;
    margin: 0;
}

.preload {
    width: 200px;
}

.preload-status {
    overflow: hidden;
    height: 50px;
    border-left: 4px solid #3d3d3d;
    border-right: 4px solid #3d3d3d; 
}

.preload-status-bar {
    position: relative;
    margin-top: 10px;
    width: 100%;
    height: 30px;
    background: #2f77ff;
    border: 1px solid #2f99ff;
    box-shadow: 0px 0px 4px 1px #2F92FF;
    left: -200px;    
    animation: move 1.5s infinite cubic-bezier(.75, 0, .25, 1);
}

.preload-status-info {
    opacity: 1;
    margin-top: -22px;
    width: 100%;
    height: 30px;
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
    text-align: center;
    color: #2f99ff;
    animation: fade 1.5s infinite cubic-bezier(.75, 0, .25, 1);
}

@keyframes move {
      0% { transform: translateX(0) }
    100% { transform: translateX(400px) }
}

@keyframes fade {
    0, 100% { opacity: 1; }
    10% { opacity: 1; }
    50% { opacity: 0; }
    90% { opacity: 1; }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.