css hover link style : demo 275

CSS

(Fonts required: Dosis.)
                        :root{ --color: #05c46b; }
                        .link{
                            color: var(--color);
                            font-family: "Dosis", sans-serif;
                            font-size: 24px;
                            font-weight: 600;
                            line-height: 24px;
                            letter-spacing: 1px;
                            text-transform: capitalize;
                            padding: 6px 6px;
                            display: inline-block;
                            border: 2px solid var(--color);
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease-in;
                        }
                        .link:focus,
                        .link:hover{ 
                            color: #fff; 
                        }
                        .link:before {
                            content: '';
                            background: var(--color);
                            width: 0;
                            height: 300%;
                            transform: translateX(-50%) translateY(-50%) rotate(45deg);
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transition: all .5s ease;
                            z-index: -1;
                        }
                        .link:hover:before { width: 105%; }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms