css hover link style : demo 250

CSS

(Fonts required: Lexend.)
                        :root{ 
                            --black: #000;
                            --color: #c44569;
                        }
                        .link{
                            color: var(--black);
                            font-family: 'Lexend', sans-serif;
                            font-size: 24px;
                            font-weight:700;
                            line-height: 24px;
                            text-transform: capitalize;
                            padding: 6px 6px;
                            display: inline-block;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease-in;
                        }
                        .link:focus,
                        .link:hover{ 
                            color: var(--color); 
                        }
                        .link:before{
                            content: '';
                            background-color: var(--black);
                            width: 100%;
                            height: 2px;
                            border-radius: 0;
                            position: absolute;
                            left: 0;
                            bottom: -8px;
                            transition: all .2s cubic-bezier(.4, 0, .2, 1);
                        }
                        .link:hover:before{
                            background-color: var(--color);
                            width: 10px;
                            height: 10px;
                            border-radius: 50%;
                            left: 50%;
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms