css hover link style : demo 126

CSS

(Fonts required: Andika New Basic.)
                        .link{
                            color: #333;
                            font-family: 'Andika New Basic', sans-serif;
                            font-size: 25px;
                            font-weight: 700;
                            line-height: 20px;
                            text-transform: capitalize;
                            display: inline-block;
                            position: relative;
                            z-index: 1;
                            transition: all 0.4s ease 0.1s;
                        }
                        .link:focus,
                        .link:hover{
                            color: #3ab447;
                        }
                        .link:before{
                            content: attr(data-hover);
                            color: #333;
                            height: 20px;
                            width: 100%;
                            opacity: 0;
                            transform: perspective(50px) rotateX(0);
                            transform-style: preserve-3d;
                            transform-origin: bottom center;
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            transition: all 0.5s ease 0s;
                        }
                        .link:hover:before{
                            opacity: 1;
                            transform: perspective(50px) rotateX(-90deg);
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms