# Event Card

> A compact event row with a tear-off calendar date badge, ready for agendas and listings.

- Category: [CSS Cards](https://copy-css.com/category/cards)
- Tags: event, calendar, date, meetup, schedule, list
- Live preview: https://copy-css.com/snippets/event-card
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<article class="event-card">
  <time class="event-date" datetime="2026-11-24">
    <span>Nov</span>
    <strong>24</strong>
  </time>
  <div>
    <h3>Design Systems Meetup</h3>
    <p>6:30 PM · Berlin</p>
  </div>
</article>
```

## CSS

```css
.event-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
  padding: 12px 18px 12px 12px;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  background: #fff;
  font-family: system-ui, sans-serif;
}

.event-date {
  flex: none;
  display: flex;
  flex-direction: column;
  width: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px #e4e4e7, 0 4px 10px -6px rgba(0, 0, 0, 0.3);
  line-height: 1;
  text-align: center;
}

.event-date span {
  padding: 5px 0;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-date strong {
  padding: 7px 0 9px;
  color: #18181b;
  font-size: 22px;
}

.event-card h3 {
  margin: 0 0 4px;
  color: #18181b;
  font-size: 15px;
  line-height: 1.3;
}

.event-card p {
  margin: 0;
  color: #71717a;
  font-size: 13px;
}
```

## Notes

- This CSS Event Card is 53 lines of pure CSS (0.9 KB) with no JavaScript and no dependencies. It uses box shadows and Flexbox.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
