Performance
PassFrame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 2.3 KB · Runtime 1.2 KB
nasty-firefox-56MITCardUiverse.io
A card built with plain HTML and CSS by Pradeepsaranbishnoi. 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 2.3 KB · Runtime 1.2 KB
Issues 0 · Screen reader: Needs attention
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.
No axe-core violations.

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.
<div class="container">
<div class="card">
<span class="logo"><svg viewBox="0 0 256 83" height="83" width="256" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient y2="100%" y1="-2.006%" x2="54.877%" x1="45.974%" id="logosVisa0"><stop stop-color="#222357" offset="0%"></stop><stop stop-color="#254AA5" offset="100%"></stop></linearGradient></defs><path transform="matrix(1 0 0 -1 0 82.668)" d="M132.397 56.24c-.146-11.516 10.263-17.942 18.104-21.763c8.056-3.92 10.762-6.434 10.73-9.94c-.06-5.365-6.426-7.733-12.383-7.825c-10.393-.161-16.436 2.806-21.24 5.05l-3.744-17.519c4.82-2.221 13.745-4.158 23-4.243c21.725 0 35.938 10.724 36.015 27.351c.085 21.102-29.188 22.27-28.988 31.702c.069 2.86 2.798 5.912 8.778 6.688c2.96.392 11.131.692 20.395-3.574l3.636 16.95c-4.982 1.814-11.385 3.551-19.357 3.551c-20.448 0-34.83-10.87-34.946-26.428m89.241 24.968c-3.967 0-7.31-2.314-8.802-5.865L181.803 1.245h21.709l4.32 11.939h26.528l2.506-11.939H256l-16.697 79.963h-17.665m3.037-21.601l6.265-30.027h-17.158l10.893 30.027m-118.599 21.6L88.964 1.246h20.687l17.104 79.963h-20.679m-30.603 0L53.941 26.782l-8.71 46.277c-1.022 5.166-5.058 8.149-9.54 8.149H.493L0 78.886c7.226-1.568 15.436-4.097 20.41-6.803c3.044-1.653 3.912-3.098 4.912-7.026L41.819 1.245H63.68l33.516 79.963H75.473" fill="url(#logosVisa0)"></path></svg></span>
<span class="remove"><svg viewBox="0 0 16 16" class="bi bi-trash-fill" fill="currentColor" height="16" width="16" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1H3v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V4h.5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1H2.5zm3 4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5zM8 5a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7A.5.5 0 0 1 8 5zm3 .5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 1 0z"></path> </svg></span>
<span class="number">**** **** **** 1320</span>
<span class="owner">Jhon D.</span>
</div>
</div>/* From Uiverse.io by Pradeepsaranbishnoi - Tags: card, debitcard, payment card */
.logo svg {
height: 48px;
width: 54px;
}
::selection {
background-color: rgba(0, 0, 0, 0);
}
.container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.card {
background: radial-gradient(circle, white 0%, #d5d5d5 100%);
width: 300px;
height: 200px;
border-radius: 20px;
position: relative;
box-shadow: 3px 3px 17px 0px rgba(0, 0, 0, 0.55);
}
.card .remove, .card .logo {
position: absolute;
display: inline-block;
cursor: pointer;
}
.card .remove {
top: 30px;
right: 30px;
opacity: .9;
color: black;
}
.card .remove:hover {
color: #f06b5d;
}
.card .logo {
top: 20px;
left: 30px;
font-size: 3em;
opacity: 1;
}
.card .number, .card .owner {
display: block;
position: absolute;
left: 30px;
cursor: default;
color: black;
opacity: .9;
transition: color .7s ease-out;
}
.card .number {
bottom: 60px;
letter-spacing: 4px;
}
.card .owner {
bottom: 30px;
letter-spacing: 1px;
}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 silver radial gradient card shows a logo, a masked card number and owner name, with a remove icon that turns red on hover.
Saved payment methods, wallets and checkout pages.
Change the white to #d5d5d5 radial gradient, the 300px by 200px size, the 20px radius and the #f06b5d remove colour.
Build a "Silver bank card" component in plain HTML, CSS and JavaScript (no framework). A silver radial gradient card shows a logo, a masked card number and owner name, with a remove icon that turns red on hover. Use it for: Saved payment methods, wallets and checkout pages. Expose these controls: Change the white to #d5d5d5 radial gradient, the 300px by 200px size, the 20px radius and the #f06b5d remove colour. 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.