Skip to main content

CSS Card Generator

Create beautiful card components with customizable styles.
Adjust background, borders, shadows, and hover effects.

Card Title

This is a sample card with placeholder content. Hover to see the effect.

12px
24px
320px
.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  width: 320px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}