<button class="shiny">Let in shiiine 🎶</button>
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.shiny {
position: relative;
color: white;
border: none;
padding: 10px 15px;
background: #3984ff;
border-radius: 10px;
font-weight: bold;
cursor: pointer;
overflow: hidden;
}
.shiny::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
opacity: 0.6;
background: radial-gradient(white, #3984ff00 80%);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.