CSSeasyCSS

Hover Card Lift Effect

Create an elegant card that lifts and shows a shadow on hover.

01

The problem

You want cards that have a smooth lifting effect when users hover over them.

02

The solution

CSS
.lift-card {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.lift-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(58, 123, 255, 0.2);
}

03

See it live

Isolated previewSandboxed
04

Put it to work

Example
<div class="lift-card">
  <h3>Card Title</h3>
  <p>Hover over me to see the lift effect!</p>
</div>