css hover link style : demo 39

HTML

CSS

                        .link{
                            display: inline-block;
                            position: relative;
                        }
                        .link span{
                            color: #202020;
                            font-size: 25px;
                            font-weight: 600;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            text-align: center;
                            padding: 5px 0;
                            display: block;
                        }
                        .link:hover span{ color: #9f1068; }
                        .link:before,
                        .link:after,
                        .link span:before,
                        .link span:after{
                            content: '';
                            height: 6%;
                            width: 25%;
                            background-color: #9f1068;
                            opacity: 0;
                            position: absolute;
                            left: 0;
                            top: 25%;
                            z-index: 1;
                            transition:all 0.3s;
                        }
                        .link:after{
                            left: 10%;
                            transition-delay:0.08s;
                        }
                        .link span:before{
                            left: 30%;
                            transition-delay:0.16s;
                        }
                        .link span:after{
                            left: 50%;
                            transition-delay:0.24s;
                        }
                        .link:hover:before,
                        .link:hover:after,
                        .link:hover span:before,
                        .link:hover span:after{
                            top: 90%;
                            opacity: 1;
                        }
                        .link:hover:after{ left: 25%; }
                        .link:hover span:before{ left: 50%; }
                        .link:hover span:after{ left: 75%; }
                        @media only screen and (max-width: 990px){
                            .link span{ font-size: 20px; }
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 20px; }
                        }
                    
License Terms