css hover link style : demo 256

CSS

(Fonts required: Mulish.)
                        :root{
                            --white: #fff;
                            --color: #64513a;
                            --background: #8a7a62;
                        }
                        .demo{ background: var(--background); }
                        .link{
                            color: var(--white);
                            font-family: 'Mulish', sans-serif;
                            font-size: 22px;
                            font-weight: 700;
                            padding: 2px 6px;
                            text-transform: capitalize;
                            display: inline-block;
                            border: 3px solid var(--color);
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .link:hover,
                        .link:focus{
                            color: var(--white);
                            box-shadow: inset 0px 0px 25px var(--color);
                        }
                        .link:before,
                        .link:after{
                            content: "";
                            background: var(--background);
                            width: 95%;
                            height: 40%;
                            position: absolute;
                            top: 80%;
                            left: 3%;
                            transition: 0.5s;
                        }
                        .link:after{
                            top: -10px;
                        }
                        .link:hover:before, 
                        .link:hover:after {
                            transform: scale(0)
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms