preloader style : demo 293

HTML

                        

CSS

                        .loader{
                            width: 120px;
                            height: 120px;
                            margin: 0 auto;
                            position: relative;
                        }
                        .loader .round{
                            width: 100%;
                            height: 100%;
                            border-radius: 50%;
                            border: 4px dashed #333;
                            transform: translateX(-50%) translateY(-50%);
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            animation: rotate-first 4s infinite ease-in-out;
                        }
                        .loader .round:nth-of-type(2){
                            width: 80%;
                            height: 80%;
                            animation: rotate-second 4s infinite ease-in-out;
                        }
                        .loader .round:nth-of-type(3){
                            width: 60%;
                            height: 60%;
                            animation: rotate-third 4s infinite ease-in-out;
                        }
                        @keyframes rotate-first{
                            0%{
                                border-color: #EA2027;
                                transform: translateX(-50%) translateY(-50%) rotate(0deg);
                            }
                            100%{
                                border-color: #009432;
                                transform: translateX(-50%) translateY(-50%) rotate(360deg);
                            }
                        }
                        @keyframes rotate-second{
                            0%{
                                border-color: #009432;
                                transform: translateX(-50%) translateY(-50%) rotate(0deg);
                            }
                            100%{
                                border-color: #0652DD;
                                transform: translateX(-50%) translateY(-50%) rotate(-360deg);
                            }
                        }
                        @keyframes rotate-third{
                            0%{
                                border-color: #0652DD;
                                transform: translateX(-50%) translateY(-50%) rotate(0deg);
                            }
                            100%{
                                border-color: #EA2027;
                                transform: translateX(-50%) translateY(-50%) rotate(360deg);
                            }
                        }
                    
License Terms