Tactile Citrus Decision Modal
Tactile Citrus kit
A real <button> carrying .btn-rainbow-pop — the preview is the stylesheet, not a picture of it.
.btn-rainbow-pop {
display: inline-block;
padding: 12px 28px;
border: 2px solid #111827;
border-radius: 12px;
background: #ffffff;
color: #111827;
font-family: inherit;
font-size: 15px;
font-weight: 700;
cursor: pointer;
box-shadow: 2px 2px 0 #ef4444, 4px 4px 0 #f97316, 6px 6px 0 #facc15;
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-rainbow-pop:hover {
transform: translate(-3px, -3px);
box-shadow: 5px 5px 0 #ef4444, 10px 10px 0 #f97316, 15px 15px 0 #facc15;
}
.btn-rainbow-pop:active {
transform: translate(0, 0);
box-shadow: 1px 1px 0 #ef4444, 2px 2px 0 #f97316, 3px 3px 0 #facc15;
}
.btn-rainbow-pop:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}
Implementation notes
Rainbow Pop uses expressive color, shape and feedback for characterful products. Its rounded corners balance product-friendly softness with a clear boundary. It combines a three-layer shadow, a 2px border and a 200ms hover shift. The hover reveal details are included in the copy-paste CSS.
Usage
<button class="btn-rainbow-pop">Button</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