CellarD0-0r/whatever

View on GitHub
app/splash/splash.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
    <head>
        <link href="http://allfont.ru/allfont.css?fonts=annabelle" rel="stylesheet" type="text/css" />
        <!-- <link rel="stylesheet" href="node_modules/spinkit/css/spinkit.css"> -->
        <style>
            .image {
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                position: fixed;
                text-align: center;
                background-color: white;
                background-image: url(splash_background.png);
            }
            
            /* Spinkit */
            
            .sk-chasing-dots {
                margin: 220px auto;
                width: 40px;
                height: 40px;
                position: relative;
                text-align: center;
                -webkit-animation: sk-chasingDotsRotate 2s infinite linear;
                animation: sk-chasingDotsRotate 2s infinite linear; }
            .sk-chasing-dots .sk-child {
                width: 60%;
                height: 60%;
                display: inline-block;
                position: absolute;
                top: 0;
                background-color: #333;
                border-radius: 100%;
                -webkit-animation: sk-chasingDotsBounce 2s infinite ease-in-out;
                animation: sk-chasingDotsBounce 2s infinite ease-in-out; }
            .sk-chasing-dots .sk-dot2 {
                top: auto;
                bottom: 0;
                -webkit-animation-delay: -1s;
                animation-delay: -1s; }

            @-webkit-keyframes sk-chasingDotsRotate {
                100% {
                    -webkit-transform: rotate(360deg);
                            transform: rotate(360deg); } }

            @keyframes sk-chasingDotsRotate {
                100% {
                    -webkit-transform: rotate(360deg);
                    transform: rotate(360deg); } }

            @-webkit-keyframes sk-chasingDotsBounce {
                0%, 100% {
                    -webkit-transform: scale(0);
                    transform: scale(0); }
                50% {
                    -webkit-transform: scale(1);
                    transform: scale(1); } }

            @keyframes sk-chasingDotsBounce {
                0%, 100% {
                    -webkit-transform: scale(0);
                    transform: scale(0); }
                50% {
                    -webkit-transform: scale(1);
                    transform: scale(1); } }
            
            /* ----- */
            
            
        </style>
    </head>
    <body>
        <div class="image">
            <div class="sk-chasing-dots">
                <div class="sk-child sk-dot1" style="background-color: rgba(255, 255, 255, 0.5)"></div>
                <div class="sk-child sk-dot2" style="background-color: rgba(255, 255, 255, 0.5)"></div>
            </div>   
        </div>
    </body>
</html>