# Ticket Card

> An event ticket with punched-out side notches made from radial gradients.

- Category: [CSS Cards](https://copy-css.com/category/cards)
- Tags: ticket, coupon, notch, radial-gradient, event
- Live preview: https://copy-css.com/snippets/ticket-card
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="ticket">
  <small>Admit one</small>
  <strong>Design Summit</strong>
  <span>Row 4 · Seat 12</span>
</div>
```

## CSS

```css
.ticket {
  display: grid;
  gap: 2px;
  width: 220px;
  padding: 18px 26px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 0 50%, transparent 11px, #7c3aed 12px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 11px, #7c3aed 12px) right / 51% 100% no-repeat;
  color: #fff;
  font-family: system-ui, sans-serif;
  filter: drop-shadow(0 8px 14px rgba(124, 58, 237, 0.35));
}

.ticket small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ticket strong {
  font-size: 20px;
}

.ticket span {
  font-size: 13px;
  opacity: 0.85;
}
```

## Notes

- This CSS Ticket Card is 30 lines of pure CSS (0.6 KB) with no JavaScript and no dependencies. It uses radial gradients, filters and CSS Grid.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
