css hover link style : demo 127

CSS

(Fonts required: Amaranth.)
                        .link{
                            color: #333;
                            font-family: 'Amaranth', sans-serif;
                            font-size: 25px;
                            font-weight: 400;
                            font-style: italic;
                            line-height: 20px;
                            padding: 0 2px;
                            text-transform: capitalize;
                            display: inline-block;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.8s ease 0.1s;
                        }
                        .link:focus,
                        .link:hover{
                            color: #01bfe1;
                        }
                        .link:before{
                            content: '';
                            background-color: #01bfe1;
                            height: 70%;
                            width: 0;
                            transform: translateY(-50%);
                            position: absolute;
                            left: 0;
                            top: 50%;
                            transition: all 0.3s ease 0s;
                            clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
                        }
                        .link:hover:before{
                            left: -100%;
                            animation: animate 0.8s ease-out;
                        }
                        @keyframes animate{
                            0%{
                                width: 0;
                                left: 0;
                            }
                            25%{
                                width: 50%;
                                left: 30%;
                            }
                            50%{
                                width: 25%;
                                left: 45%;
                            }
                            75%{
                                width: 50%;
                                left: 60%;
                            }
                            100%{
                                width: 50%;
                                left: 100%;
                            }
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms