buttons style : demo 234

HTML

(Icon Fonts Used : Fontawesome & CSS Framwork: Bootstrap)

CSS

(Fonts required: Archivo.)
                        :root{ --color: #00662b; }
                        .btn{
                            color: var(--color);
                            font-family:'Archivo', sans-serif;
                            font-size: 18px;
                            font-weight: 700;
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            padding: 8px 15px;
                            border-radius: 5px;
                            border: 1px solid var(--color);
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.35s;
                        } 
                        .btn:hover,
                        .btn:focus{  
                            color:#fff; 
                        }
                        .btn:before{
                            content: "";
                            background: var(--color);
                            width: 20%;
                            height: 100%;
                            transform: rotateZ(-45deg) translateX(-50%) translateY(-50%);
                            position: absolute;
                            top: 50%;
                            left: 0;
                            transition: all 0.3s;
                            z-index: -1;
                        }
                        .btn:hover:before{
                            width: 100%;
                            top: 0;
                            transform: none;
                        }
                        @media only screen and (max-width: 767px){
                            .btn{ margin-bottom: 30px; }
                        }
                    
License Terms