27 CSS Card Hover Effects

Elastic Lift

Card springs upward with a cubic-bezier overshoot, expands its shadow and highlights the border on hover.

Pure CSS MIT licensed

Elastic Lift the 1st of 27 designs in the 27 CSS Card Hover Effects collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.

Live preview

Open in playground

The code

<div class="card-01">
  <div class="card-01__glow"></div>
  <span class="card-01__tag">Design</span>
  <h4 class="card-01__title">Elastic Lift</h4>
  <p class="card-01__body">Springs up with an overshoot bounce.</p>
</div>
.card-01__tag {
  font-family: monospace;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(124, 108, 255, 0.15);
  color: #7c6cff;
  border: 1px solid rgba(124, 108, 255, 0.3);
  display: inline-block;
  margin-bottom: 10px;
}
.card-01__title {
  font-size: 17px;
  font-weight: 700;
  color: #f0eeff;
  margin-bottom: 6px;
}
.card-01__body {
  font-size: 13px;
  color: #b8b6d4;
  line-height: 1.6;
}
.card-01 {
  width: 100%;
  max-width: 280px;
  padding: 22px;
  border-radius: 14px;
  background: #17171f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  position: relative;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s;
}
.card-01:hover {
  transform: translateY(-12px);
  box-shadow:
    0 20px 40px rgba(124, 108, 255, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.3);
  border-color: rgba(124, 108, 255, 0.4);
}
.card-01__glow {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 120%, rgba(124, 108, 255, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card-01:hover .card-01__glow {
  opacity: 1;
}

Search CodeFronts

Loading…