# Feature Card

> A landing-page feature card with a tinted icon badge that tilts on hover.

- Category: [CSS Cards](https://copy-css.com/category/cards)
- Tags: feature, icon, landing page, hover, grid
- Live preview: https://copy-css.com/snippets/feature-card
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="feature-card">
  <span class="feature-icon">
    <svg viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M13 2 3 14h9l-1 8 10-12h-9l1-8z"/></svg>
  </span>
  <h3>Lightning fast</h3>
  <p>No frameworks, no build step. Just CSS.</p>
</div>
```

## CSS

```css
.feature-card {
  width: 210px;
  padding: 20px;
  border: 1px solid #dcfce7;
  border-radius: 16px;
  background: #fff;
  font-family: system-ui, sans-serif;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: #86efac;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #dcfce7;
  color: #16a34a;
  transition: transform 0.25s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
}

.feature-card h3 {
  margin: 14px 0 4px;
  color: #14532d;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}
```

## Notes

- This CSS Feature Card is 41 lines of pure CSS (0.7 KB) with no JavaScript and no dependencies. It uses transitions, transforms and CSS Grid.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
