buttons style : demo 18

CSS

                        .btn{
                            border-radius: 0;
                            text-transform: uppercase;
                            position: relative;
                            overflow: hidden;
                            z-index: 1;
                            transition: all 0.6s ease 0s;
                        }
                        .btn:before{
                            content: "";
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            border-width: 0;
                            border-style: solid;
                            z-index: -1;
                            transition: all 0.6s ease 0s;
                        }
                        .btn:after{
                            content: "";
                            position: absolute;
                            bottom: 0;
                            right: 0;
                            border-width: 0;
                            border-style: solid;
                            z-index: -1;
                            transition: all 0.6s ease 0s;
                        }
                        .btn:hover:before{
                            border-width: 105px 0 0 105px;
                        }
                        .btn:hover:after{
                            border-width: 0 0 105px 105px;
                        }
                        .btn:hover{
                            color:#fff;
                        }
                        .purple{
                            color: #580141;
                            border: 1px solid #580141;
                        }
                        .purple:before{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #580141;
                        }
                        .purple:after{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #580141;
                        }
                        .green{
                            color: #396b1c;
                            border: 1px solid #396b1c;
                        }
                        .green:before{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #396b1c;
                        }
                        .green:after{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #396b1c;
                        }
                        .orange{
                            color: #e67e22;
                            border: 1px solid #e67e22;
                        }
                        .orange:before{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #e67e22;
                        }
                        .orange:after{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #e67e22;
                        }
                        .blue{
                            color: #3498db;
                            border: 1px solid #3498db;
                        }
                        .blue:before{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #3498db;
                        }
                        .blue:after{
                            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #3498db;
                        }
                        @media only screen and (max-width: 767px) {
                            .btn{
                                margin-bottom: 15px;
                            }
                        }
                    
License Terms