Dark cards

Cards for dark interfaces: raised surfaces, hairline borders and glows on near-black.

Case study

Rebuilding a checkout in six weeks

C 003Bottom fade image
Tutorial

Container queries in practice

Stop guessing viewport widths. Size to the parent.

C 008Dark accent bar
-30%

Studio headphones

$199$285

C 023Discount ribbon
★★★★★
The thermostat learned our schedule in a week. Nobody has touched it since.
Ines DuarteFacilities lead, Parcel
C 026Dark stars quote
Beta

Night glass

Dark translucent surface, one bright top edge, color bleeding through from behind.

C 029Night glass blobs

Rotating edge

A conic gradient spins around the card using a registered custom property.

C 034Spinning conic edge
01

Perspective tilt

Rotates in 3D on hover, with the badge floating above the surface.

C 037Perspective tilt
C 039Tap to flip
19:00 to 21:30

Frontend after hours

Lightning talks, then pizza. Bring a demo or a question.

Online
C 057Time strip
Quiet HoursLo Lantern
1:243:52
C 058Music player
Admit one

Rooftop screening

Row F · Seat 12

C 074Bevel ticket

Can the card flip without JavaScript?

Yes. A checkbox and :checked does it.

Keyboard accessible?

If the input stays focusable, yes.

C 079Chat bubbles
BANK

•••• •••• •••• 4242

Card holderA. ExampleExpires09/29
C 087Glossy payment

Spotlight

A radial highlight grows from the corner on hover, no pointer tracking needed.

C 089Corner spotlight
Live

Neon edge

Layered box-shadows fake a glowing tube around the border.

C 092Neon tube edge

Get new snippets weekly

One email, ten cards, zero fluff.

Unsubscribe any time.
C 100Newsletter signup