Magenta heartbeat
Magenta heartbeat: a CSS button. Copy the rules, or the prompt that rebuilds it.
CSS
.btn-107 {
font: 700 15px/1 system-ui,sans-serif;
color: #fff;
background: #db2777;
border: 0;
border-radius: 10px;
padding: 14px 28px;
cursor: pointer;
text-shadow: 0 0 6px #fff8;
animation: beat107 1.6s ease-out infinite;
transition: background .15s
}
.btn-107:hover {
background: #be185d;
animation-duration: .8s
}
.btn-107:focus-visible {
outline: 2px solid #db2777;
outline-offset: 5px
}
.btn-107:active {
animation: none;
transform: scale(.97)
}
@keyframes beat107 {
0% {
box-shadow: 0 0 0 0 #db277799
}
100% {
box-shadow: 0 0 0 14px #db277700
}
}
@media (prefers-reduced-motion: reduce) {
.btn-107, .btn-107 * { animation: none; transition: none; }
}
HTML
<button class="btn-107">Go live</button>Prompt
A magenta #db2777 button, 10px radius, white bold 15px text with a faint white text glow, 14px by 28px padding. A translucent magenta ring expands from the edge to 14px and fades out every 1.6 seconds, like a heartbeat. Hover darkens to #be185d and doubles the beat rate; active stops the ring and scales to 0.97. Focus 2px magenta outline offset 5px.