css hover link style : demo 241

CSS

(Fonts required: Almarai.)
                        .link{
                            color: #000;
                            font-family: 'Almarai', sans-serif;
                            font-size: 22px;
                            font-weight: 600;
                            line-height: 21px;
                            text-transform: capitalize;
                            padding: 5px 0;
                            margin: 0 15px;
                            display: inline-block;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .link:focus,
                        .link:hover{
                            color: #f90000;
                            letter-spacing: 2px;
                        }
                        .link:before,
                        .link:after{
                            content: "";
                            width: 0;
                            border: 2px solid rgba(249,0,0,0);
                            transform: translateX(-50%);
                            position: absolute;
                            top: 0;
                            left: 50%;
                            transition: all 280ms ease-in-out;
                        }
                        .link:after{
                            top: auto;
                            bottom: 0;
                        }
                        .link:hover:before,
                        .link:hover:after{ 
                            border: 1px solid #f90000;
                            width: 100%; 
                            transition: width 350ms ease-in-out;
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms