css hover link style : demo 98

CSS

(Fonts required: Raleway.)
                        .link{
                            color: #333;
                            font-family: 'Raleway', sans-serif;
                            font-size: 25px;
                            font-weight: 800;
                            line-height: 20px;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            padding: 4px 3px 3px 3px;
                            display: inline-block;
                            position: relative;
                            z-index: 1;
                            transition: all .3s ease-in 0.35s;
                        }
                        .link:focus,
                        .link:hover{ color:#ff3838; }
                        .link:before{
                            content: '';
                            background-color: #ff3838;
                            width: 100%;
                            height: 100%;
                            opacity: 0;
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: -1;
                            transition: all 0.4s ease-in 0.3s;
                        }
                        .link:hover:before{ animation: animate 1s linear; }
                        @keyframes animate{
                            0%{
                                opacity: 0;
                                width: 50%;
                            }
                            25%{
                                opacity: 1;
                                width: 25%;
                            }
                            50%{ width: 100%; }
                            100%{ opacity: 0; }
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin: 0 0 30px; }
                        }
                    
License Terms