css hover link style : demo 258

CSS

(Fonts required: REM.)
                        :root{
                            --black:#000;
                            --white:#fff;
                            --background:#e8e8e8;
                        }
                        .demo{ background: var(--background); }
                        .link{
                            color: var(--black);
                            background: var(--white);
                            font-family: "REM", sans-serif;
                            font-size: 18px;
                            font-weight: 500;
                            padding: 12px 20px;
                            text-transform: capitalize;
                            border-radius: 50px;
                            display: inline-block;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .link:hover,
                        .link:focus{
                            color: var(--white);
                            background: #073b4c;
                            box-shadow: inset 0 0 0 4px #ef476f,inset 0 0 0 8px #ffd166, 
                                        inset 0 0 0 12px #06d6a0,inset 0 0 0 16px #118ab2;
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms