preloader style : demo 297

HTML

                        

CSS

                        .loader{
                            background-color: #f21f52;
                            width: 100px;
                            height: 100px;
                            margin: 0 auto;
                            border-radius: 50%;
                            position: relative;
                        }
                        .loader:before,
                        .loader:after{
                            content: '';
                            background-color: rgb(255, 255, 255);
                            width: 100%;
                            height: 100%;
                            transform-origin: center bottom;
                            position: absolute;
                            bottom: 45px;
                            clip-path: circle(50% at 50% 100%);
                            animation: rotate 2s linear infinite;
                        }
                        .loader:after{
                            transform-origin: center top;
                            top: 45px;
                            clip-path: circle(50.0% at 50% 0);
                        }
                        @keyframes rotate{
                            0%{ transform: rotate(0deg); }
                            100%{ transform: rotate(-360deg); }
                        }
                    
License Terms