simple impact
#CSS#
body{
background-color: #111;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: sans-serif;
}
.glow-button {
position: relative;
padding: 10px 32px;
background-color: #222;
color: #fff;
font-size: 16px;
border: 1px solid #444;
border-radius: 10px;
cursor: pointer;
overflow: hidden;
z-index: 0;
}
.glow-button::after {
content: '';
position: absolute;
left: 50%;
top: 100%;
transform: translate(-50%, -50%) scale(0);
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(0, 240, 255, 0.4) 0%, transparent 80%);
opacity: 0;
transition: transform 0.4s ease, opacity 0.4s ease;
pointer-events: none;
z-index: 1;
border-radius: 50%;
}
.glow-button.glow-active::after {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}