css hover link style : demo 20

HTML

CSS

                        .link{
                            display: inline-block;
                            font-size: 25px;
                            font-weight: 700;
                            color: #909090;
                            text-transform: uppercase;
                            z-index: 1;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .link:hover{ color: transparent; }
                        .link:before,
                        .link:after{
                            content: 'hover me';
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            top: 0;
                            left: 0;
                            opacity: 0;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .link:before{
                            color: #ff0059;
                            -webkit-clip-path: polygon(0 0, 100% 1%, 100% 45%, 0 45%);
                            clip-path: polygon(0 0, 100% 1%, 100% 45%, 0 45%);
                        }
                        .link:hover:before{
                            opacity: 1;
                            transform: translate(1px,-1px);
                        }
                        .link:after{
                            color: #ce0044;
                            -webkit-clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%);
                            clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%);
                        }
                        .link:hover:after{
                            opacity: 1;
                            transform: translate(-1px,1px);
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 20px; }
                        }
                    
License Terms