css hover link style : demo 249

CSS

(Fonts required: Dosis.)
                        :root{ --color: #eb2f06; }
                        .link{
                            color: var(--color);
                            font-family: 'Dosis', sans-serif;
                            font-size: 24px;
                            font-weight: 600;
                            line-height: 24px;
                            letter-spacing: 1px;
                            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: #fff; 
                        }
                        .link:before,
                        .link:after{
                            content: '';
                            background: var(--color);
                            width: 5px;
                            height: 5px;
                            border-radius: 50%;
                            transform: translateY(-50%);
                            position: absolute;
                            top: 50%;
                            left: 0;
                            transition: height 0.3s 0.3s ease, border-radius 0.3s 0.3s ease, top 0.3s 0.3s ease, width 0.3s ease;
                            z-index: -1;
                        }
                        .link:after{ 
                            left: auto;
                            right: 0;
                        }
                        .link:hover:before,
                        .link:hover:after{
                            width: 55%;
                            height: 80%;
                            border-radius: 5px;
                            transition: height 0.3s ease,border-radius 0.3s ease,top 0.3s ease,width 0.3s 0.3s ease;
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms