preloader style : demo 278

HTML

                        

CSS

                        .loader{
                            width: 100px;
                            height: 100px;
                            margin: 40px auto 0;
                            border-radius: 50%;
                            position: relative;
                        }
                        .loader .inner{
                            width: 100%;
                            height: 100%;
                            border: 50px solid transparent;
                            border-top-color: transparent;
                            border-left-color: transparent;
                            border-top-color: #fff;
                            border-radius: 50%;
                            position: absolute;
                            top: 0;
                            left: 0;
                            animation: .5s spin infinite linear;
                        }
                        .loader .inner:nth-child(1){
                            border-left-color: #fff;
                            opacity: 0.25;
                        }
                        .loader .inner:nth-child(2){
                            animation-direction: reverse;
                            animation-duration: 2.5s;
                        }
                        @keyframes spin{
                            0%{ transform: rotate(0deg); }
                            100%{ transform: rotate(360deg); }
                        }
                    
License Terms