preloader style : demo 292

HTML

                        

CSS

                        .loader{
                            width: 100px;
                            height: 100px;
                            margin: 40px auto 0;
                            border: 7px solid #1890e0;
                            border-right-color: #0369ad;
                            border-bottom-color: #0369ad;
                            box-shadow: 0 0 3px #1890e0, 0 0 3px #1890e0 inset;
                            position: relative;
                            animation: animate 1s ease-in-out infinite alternate;
                        }
                        .loader:before,
                        .loader:after{
                            content: "";
                            width: calc(100% - 20px);
                            height: calc(100% - 20px);
                            border: inherit;
                            box-shadow: inherit;
                            transform: translateX(-50%) translateY(-50%);
                            position: absolute;
                            top: 50%;
                            left: 50%;
                        }
                        .loader:after{
                            width: calc(100% - 50px);
                            height: calc(100% - 50px);
                        }
                        @keyframes animate{
                            0%{
                                border-radius: 0px;
                                transform: rotate(0deg) scale(1, 1);
                            }
                            100%{
                                border-radius: 50px;
                                transform: rotate(360deg) scale(0, 0);
                            }
                        }
                    
License Terms