Tactile Citrus Decision Modal
Tactile Citrus kit
A real <button> carrying .btn-party-popper — the preview is the stylesheet, not a picture of it.
.btn-party-popper {
position: relative;
display: inline-block;
padding: 12px 28px;
border: none;
border-radius: 12px;
background: #8b5cf6;
color: #ffffff;
font-family: inherit;
font-size: 15px;
font-weight: 700;
cursor: pointer;
transition: background 0.2s ease, transform 0.15s ease;
}
.btn-party-popper::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 6px;
height: 6px;
margin: -3px 0 0 -3px;
border-radius: 50%;
opacity: 0;
pointer-events: none;
}
.btn-party-popper:hover {
background: #7c3aed;
transform: scale(1.04);
}
.btn-party-popper:hover::after {
animation: btn-party-popper-burst 0.7s ease-out forwards;
}
.btn-party-popper:active {
transform: scale(0.96);
}
@keyframes btn-party-popper-burst {
0% {
opacity: 1;
box-shadow: 0 0 0 #fbbf24, 0 0 0 #34d399, 0 0 0 #f87171, 0 0 0 #60a5fa, 0 0 0 #f472b6, 0 0 0 #facc15, 0 0 0 #a78bfa, 0 0 0 #4ade80;
}
70% {
opacity: 1;
}
100% {
opacity: 0;
box-shadow: -46px -34px 0 #fbbf24, 42px -40px 0 #34d399, -58px 8px 0 #f87171, 56px 14px 0 #60a5fa, -30px 38px 0 #f472b6, 34px 40px 0 #facc15, 0 -50px 0 #a78bfa, 62px -12px 0 #4ade80;
}
}
.btn-party-popper:focus-visible {
outline: 2px solid #8b5cf6;
outline-offset: 3px;
}
Implementation notes
Party Popper uses expressive color, shape and feedback for characterful products. Its rounded corners balance product-friendly softness with a clear boundary. It pairs a 700ms keyframe animation with a 200ms hover scale. The particles, hover reveal details are included in the copy-paste CSS.
Usage
<button class="btn-party-popper">Party!</button>Pair it with the CSS tab above — the class is self-contained.
:focus-visible state. If you retain motion, include a prefers-reduced-motion override.We matched its palette, surface, geometry and motion to a complete UI system — like composing an outfit, not browsing unrelated parts.
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Two optional extras load only if you allow them. Every button, preview and line of code works exactly the same either way. What each one does