Performance
PassFrame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.5 KB · Runtime 2.4 KB
unlucky-elephant-56MITButtonUiverse.io
A button built with plain HTML and CSS by mi-series. Collected from Uiverse.io under the MIT licence and shown here live.
Quality report
The grade and score come from automated checks run at build or test time. If a check did not run, it is marked Not tested — numbers are never invented.
Frame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.5 KB · Runtime 2.4 KB
Issues 2 · Screen reader: Pass
No continuous motion
No overflow
Frame rate and long-task figures were measured in headless Chromium with software WebGL. They are only comparable between components on this site, and do not represent real devices.
Not applicable: no visible animation at rest. Hover-triggered animation was not tested.

Checked Nov 15, 2026 · Figures come from an automated script, not from hand-written samples.
Shown at real size.
The copy starts with the licence notice. Keep it when you use the code.
<button class="container">
<a href="#"></a>
<a href="#"></a>
<a href="#"></a>
<a href="#"></a>
<div class="card">
<div class="card-header">
HOVER
</div>
</div>
</button>/* From Uiverse.io by mi-series - Tags: simple, material design, 3d, purple, minimalist, button, hover effect, hover button */
.container {
border: none;
}
.container .card {
background-color: white;
border-radius: 10px;
border: 1px solid black;
position: relative;
z-index: 0;
transition: all 300ms ease-out;
transform-origin: center center;
width: 150px;
height: 50px;
box-shadow: 0px;
outline: none;
}
.card-header {
padding: 10px;
background: linear-gradient(90deg, #CB2D6F 20px, transparent 100%) center / 22px 22px,
linear-gradient(#CB2D6F 20px, transparent 100%) center / 22px 22px,
#fff;
color: white;
height: 100%;
font-size: 20px;
font-weight: 600;
border: 1px solid white;
border-radius: 10px;
}
.container .card .border {
transition: all 300ms ease-out;
transform-origin: center center;
position: absolute;
top: 6px;
left: 6px;
width: calc(100% - 0px);
height: calc(100% - 0px);
border: 1px solid black;
border-radius: 9px;
}
.container a {
opacity: 0;
position: absolute;
z-index: 1;
width: 50%;
height: 50%;
}
.container a:hover,
.container a:focus {
transform: translateZ(50px);
}
.container a:hover ~ .card .card-header,
.container a:focus ~ .card .card-header {
transform: translateZ(24px);
}
.container a:nth-child(1) {
top: 0;
left: 0;
}
.container a:nth-child(1):hover ~ .card,
.container a:nth-child(1):focus ~ .card {
transform: rotateX(10deg) rotateY(-10deg) translateZ(0);
transform-origin: right bottom;
box-shadow: 10px 20px;
}
.container a:nth-child(2) {
top: 0;
right: 0;
}
.container a:nth-child(2):hover ~ .card,
.container a:nth-child(2):focus ~ .card {
transform: rotateX(10deg) rotateY(10deg) translateZ(0);
transform-origin: left bottom;
box-shadow: -10px 20px;
}
.container a:nth-child(3) {
bottom: 0;
right: 0;
}
.container a:nth-child(3):hover ~ .card ,
.container a:nth-child(3):focus ~ .card {
transform-origin: left top;
transform: rotateX(-10deg) rotateY(10deg) translateZ(0);
box-shadow: -10px -20px;
}
.container a:nth-child(4) {
bottom: 0;
left: 0;
}
.container a:nth-child(4):hover ~ .card,
.container a:nth-child(4):focus ~ .card {
transform-origin: right top;
transform: rotateX(-10deg) rotateY(-10deg) translateZ(0);
box-shadow: 10px -20px;
}Controls · HTML · CSS · JS
Edit the code and tune it with the controls. The preview updates as you type.

This component runs from a bundled build, so its script is read-only here. Edit the HTML and CSS; the full source is in the Code tab.
Edit every component live, tune it with controls, download the full source and copy the advanced prompts.
$49 one-timePlaceholder price
Test mode: no real payment is taken.
Free: preview, copy buttons and the lesson notes.
A white card button with a pink gradient pattern header tilts toward whichever corner you hover, thanks to four hidden hot spots.
Playful calls to action and interactive demos.
Change the #CB2D6F pink, the 22px pattern size, the 150px by 50px card and the 300ms ease-out.
Build a "Pink stitched hover button" component in plain HTML, CSS and JavaScript (no framework). A white card button with a pink gradient pattern header tilts toward whichever corner you hover, thanks to four hidden hot spots. Use it for: Playful calls to action and interactive demos. Expose these controls: Change the #CB2D6F pink, the 22px pattern size, the 150px by 50px card and the 300ms ease-out. Support light and dark themes, respect prefers-reduced-motion with a still frame, keep text readable and controls keyboard accessible. Write original code; do not copy from paid or restricted component libraries.
A longer prompt with tuning, accessibility and integration steps.