buttons style : demo 41

CSS

                        .btn{
                            border-radius: 25px;
                            color: #fdfffc;
                            overflow: hidden;
                            text-transform: uppercase;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .btn:before,
                        .btn:after{
                            content: "";
                            width: 55%;
                            height: 100%;
                            position: absolute;
                            top: 0;
                            z-index: -1;
                            transition: all 0.35s ease 0s;
                        }
                        .btn:before{
                            left: 0;
                        }
                        .btn:hover:before{
                            transform: translateX(-110%);
                        }
                        .btn:after{
                            right: 0;
                        }
                        .btn:hover:after{
                            transform: translateX(110%);
                        }
                        .btn.red:hover{
                            color: #fe6d6d;
                        }
                        .btn.red:before,
                        .btn.red:after{
                            background: #fe6d6d;
                        }
                        .btn.blue:hover{
                            color: #5bbbf5;
                        }
                        .btn.blue:before,
                        .btn.blue:after{
                            background: #5bbbf5;
                        }
                        .btn.orange:hover{
                            color: #ee955b;
                        }
                        .btn.orange:before,
                        .btn.orange:after{
                            background: #ee955b;
                        }
                        .btn.green:hover{
                            color: #79d799;
                        }
                        .btn.green:before,
                        .btn.green:after{
                            background: #79d799;
                        }
                        @media only  screen and (max-width: 767px){
                            .btn{ margin-bottom: 20px; }
                        }
                    
License Terms