.card2 { background-color:hsla(213,27%,14%,1); background-image: radial-gradient(at 0% 0%, hsla(160,100%,64%,0.1) 0px, transparent 50%), radial-gradient(at 0% 0%, hsla(160,100%,64%,0.1) 0px, transparent 50%); box-shadow: inset 0 0 15px 0 hsla(214, 27%, 91%, 0.2); } .card2:hover { box-shadow: inset 0 0 15px 0 hsla(214, 27%, 91%, 0.2), /* Keeps the inner shadow */ 0 0 20px 2px rgba(90, 237, 188, 0.4); /* Adds outer glow (#5aedbc) */ }
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.