Search
 
SCRIPT & CODE EXAMPLE
 

HTML

making spinner in css

<!DOCTYPE html>
<html>
    <head>
        <title>Spinner</title>
    </head>
    <body>
        <div class="spinner"></div>
        <h3 class="text">LOADING...</h3>
		<style>
			html {
            background-color: #000000;
            }
            .text {
                color: #fff;
                font-family: Arial;
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -150%);
                text-transform:uppercase;
                letter-spacing:2px;
                margin-top:20px;
                color: #3fefef;   filter:drop-shadow(0 0 20px #3fefef) drop-shadow(0 0 60px #3fefef);
                animation: animate_text 1.0s steps(1) infinite;
            }
            .spinner {
                position: relative;
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 200px;
                height: 200px;
                border-radius: 50%;
            }
            .spinner::before,
            .spinner:after{
                content: "";
                position: absolute;
                border-radius: inherit;
            }
            .spinner:before {
                width: 100%;
                height: 100%;
                background-image:linear-gradient(
                  0deg, #ff00cc 0%, 
                  #333399 100% );
                animation: spin .5s infinite linear;
            }
            .spinner:after {
                width: 85%;
                height: 85%;
                background-color: #000000;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            @keyframes spin {
                to {
                  transform: rotate(360deg);
                }
            }

            @keyframes animate_text {
                0%, 100% {
                  opacity:0;
                }

                50% {
                  opacity:1;
                }
            }
		</style>
    </body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: how to add html in svg d3 
Html :: HTML <figure and <figcaption Elements 
Html :: vmware workstation ubuntu 19.04 
Html :: file path in html 
Html :: haml to html 
Html :: tailwind css breadcrumbs 
Html :: simple form time input 
Html :: number input with any value and range 
Html :: html number input with commas 
Html :: ONLINE VIDEO CALL FOR MY WEBSITE CODE 
Html :: what is radio button in html used for 
Html :: html ol vs ul 
Html :: learn how to build a website code 
Html :: html center 
Html :: link a hyperlink from different folder 
Html :: wordpress add the html to the content by functoin.php 
Html :: how to take space in fontawesome unicode 
Html :: disabling cach using meta tag 
Html :: shchema keyref et key use 
Html :: html check observable is null 
Html :: komodo ide 13 
Html :: is there an opposit of onerror html 
Html :: TemplateDoesNotExist at / home.html 
Html :: adminLTE infoboxes 
Html :: membuat fitur translate html 
Html :: symfony public path 
Html :: partial url example 
Html :: hii 
Html :: can html be coded in to text string 
Html :: html api 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =