css hover link style : demo 260

CSS

(Fonts required: Lato.)
                        :root{
                            --white: #fff;
                            --color: #10ac84;
                        }
                        .link{
                            font-family: 'Lato', sans-serif;
                            font-size: 22px;
                            font-weight: 700;
                            line-height: 31px;
                            text-transform: capitalize;
                            border: none;
                            display: inline-block;
                            overflow: hidden;
                            transition: 0.5s;
                        }   
                        .link:hover,
                        .link:focus{
                            color: var(--white);
                        }
                        .link span{
                            color:var(--color);
                            background:var(--white);
                            padding: 3px 3px;
                            border: 4px solid var(--color);
                            display: block;
                            position: relative;
                            z-index: 1;
                        }
                        .link:hover span{ color: var(--white); }
                        .link span:before{
                            content: "";
                            background: var(--white);
                            display: block;
                            width: 8%;
                            height: 500%;
                            transform: translateX(-50%) translateY(-50%) rotate(-60deg);
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transition: all 0.3s;
                            z-index: -1;
                        }
                        .link:hover span:before{
                            background: var(--color);
                            width: 100%;
                            transform: translateX(-50%) translateY(-50%) rotate(-90deg);
                        }
                        @keyframes scaleUp {
                            0% { transform: scale(1); }
                            50% { transform: scale(0.95); }
                            100% { transform: scale(1);  }
                        }
                        @keyframes scan{
                            0% { height:100%; }
                            100% { height: 18%; }
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms