css hover link style : demo 262

CSS

(Fonts required: Barlow.)
                        :root{
                            --white: #fff;
                            --color: #d55b5b;
                            --background: #680404;
                        }
                        .link{
                            color: var(--color);
                            font-family: "Barlow", sans-serif;
                            font-size: 22px;
                            font-weight: 600;
                            line-height: 31px;
                            padding: 2px 6px;
                            text-transform: capitalize;
                            border: none;
                            border-radius: 100px;
                            box-shadow: 0 0 0 2px var(--color);
                            display: inline-block;
                            overflow: hidden;
                            position: relative;
                            transition: all 0.3s ease-in-out;
                            z-index: 1;
                        }   
                        .link:hover,
                        .link:focus{
                            color: var(--white);
                            box-shadow: 0 0 0 5px  var(--color);
                        }
                        .link:before{
                            content: "";
                            background: var(--background);
                            width: 150px;
                            height: 150px;
                            border-radius: 50%;
                            transform: translateX(-50%) translateY(-50%) scale(0);
                            position : absolute;
                            top: 50%;
                            left: 50%;
                            transition: all 0.3s ease-in-out;
                            z-index: -1;
                        }
                        .link:hover:before{
                            transform: translateX(-50%) translateY(-50%) scale(1);
                        }
                        @media only screen and (max-width: 767px){
                           .link{ margin-bottom: 30px; }
                        }
                    
License Terms