buttons style : demo 17

CSS

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