captured.gif

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
    6. <title>Loading...</title>
    7. <link rel="stylesheet" type="text/css" href="style.css" />
    8. </head>
    9. <body>
    10. <div class="loader">
    11. <h2>loading...</h2>
    12. </div>
    13. </body>
    14. </html>
    *{
        padding:  0;
        margin: 0;
        font-family: 'Courier New', Courier, monospace;
    }
    
    body{
        display: flex;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        background: #121213;
    }
    div.loader::before{
        position: absolute;
        top: 0;
        right: 0;
        content: ' ';
        width: 2px;
        height: 90%;
        background: aqua;
        animation: blink .8s steps(3) infinite;
    }
    @keyframes blink{
        0%,100%{
            opacity: 1;
        }
    
        35%{
            opacity: 0;
        }
    }
    
    
    div.loader{
        position: relative;
        -webkit-box-reflect: below -20px linear-gradient(transparent,#0002);
    }
    
    div.loader h2{
        position: relative;
        font-size: 4em;
        color: aqua;
        text-transform: uppercase;
        letter-spacing: 6px;
        animation: typing 8s steps(10) infinite;
        overflow: hidden;
    }
    
    @keyframes typing{
        0%,100%{
            width: 0;
        }
    
        45%{
            width: 444.06px;
        }
    }