preloader style : demo 116

HTML

                        

CSS

                        .loader{
                            width: 150px;
                            height: 100px;
                            margin: 50px auto;
                            position: relative;
                        }
                        .loader .loader-inner{
                            width: 45px;
                            height: 45px;
                            border-radius: 5px;
                            position: absolute;
                            -webkit-transform: rotate(45deg);
                            transform: rotate(45deg);
                        }
                        .loader .box-1{
                            background: #59114d;
                            top: 0;
                            left: 0;
                            -webkit-animation: loading-1 3s infinite;
                            animation: loading-1 3s infinite;
                        }
                        .loader .box-2{
                            background: #f06449;
                            top: 45px;
                            left: 45px;
                            -webkit-animation: loading-2 3s infinite;
                            animation: loading-2 3s infinite;
                        }
                        .loader .box-3{
                            background: #e98a15;
                            top: 0;
                            left: 90px;
                            -webkit-animation: loading-3 3s infinite;
                            animation: loading-3 3s infinite;
                        }
                        @-webkit-keyframes loading-1{
                            0%{
                                top: 0;
                                left: 0;
                            }
                            33.3%{
                                top: 45px;
                                left: 45px;
                                -webkit-transform: rotate(90deg);
                                transform: rotate(90deg);
                            }
                            66.66%{
                                top: 0;
                                left: 90px;
                                -webkit-transform: rotate(135deg);
                                transform: rotate(135deg);
                            }
                            100%{
                                top: 0;
                                left: 0;
                                -webkit-transform: rotate(-135deg);
                                transform: rotate(-135deg);
                            }
                        }
                        @keyframes loading-1{
                            0%{
                                top: 0;
                                left: 0;
                            }
                            33.3%{
                                top: 45px;
                                left: 45px;
                                -webkit-transform: rotate(90deg);
                                transform: rotate(90deg);
                            }
                            66.66%{
                                top: 0px;
                                left: 90px;
                                -webkit-transform: rotate(135deg);
                                transform: rotate(135deg);
                            }
                            100%{
                                top: 0;
                                left: 0;
                                -webkit-transform: rotate(-135deg);
                                transform: rotate(-135deg);
                            }
                        }
                        @-webkit-keyframes loading-2{
                            0%{
                                top: 45px;
                                left: 45px;
                            }
                            33.3%{
                                top: 0;
                                left: 90px;
                                -webkit-transform: rotate(90deg);
                                transform: rotate(90deg);
                            }
                            66.66%{
                                top: 0;
                                left: 0;
                                -webkit-transform: rotate(135deg);
                                transform: rotate(135deg);
                            }
                            100%{
                                top: 45px;
                                left: 45px;
                                -webkit-transform: rotate(-135deg);
                                transform: rotate(-135deg);
                            }
                        }
                        @keyframes loading-2{
                            0%{
                                top: 45px;
                                left: 45px;
                            }
                            33.3%{
                                top: 0;
                                left: 90px;
                                -webkit-transform: rotate(90deg);
                                transform: rotate(90deg);
                            }
                            66.66%{
                                top: 0;
                                left: 0;
                                -webkit-transform: rotate(135deg);
                                transform: rotate(135deg);
                            }
                            100%{
                                top: 45px;
                                left: 45px;
                                -webkit-transform: rotate(-135deg);
                                transform: rotate(-135deg);
                            }
                        }
                        @-webkit-keyframes loading-3{
                            0%{
                                top: 0;
                                left: 90px;
                            }
                            33.3%{
                                top: 0;
                                left: 0;
                                -webkit-transform: rotate(90deg);
                                transform: rotate(90deg);
                            }
                            66.66%{
                                top: 45px;
                                left: 45px;
                                -webkit-transform: rotate(135deg);
                                transform: rotate(135deg);
                            }
                            100%{
                                top: 0;
                                left: 90px;
                                -webkit-transform: rotate(-135deg);
                                transform: rotate(-135deg);
                            }
                        }
                        @keyframes loading-3{
                            0%{
                                top: 0;
                                left: 90px;
                            }
                            33.3%{
                                top: 0;
                                left: 0;
                                -webkit-transform: rotate(90deg);
                                transform: rotate(90deg);
                            }
                            66.66%{
                                top: 45px;
                                left: 45px;
                                -webkit-transform: rotate(135deg);
                                transform: rotate(135deg);
                            }
                            100%{
                                top: 0;
                                left: 90px;
                                -webkit-transform: rotate(-135deg);
                                transform: rotate(-135deg);
                            }
                        }
                    
License Terms