Tinted glow lift

Tinted glow lift: a CSS card. Copy the rules, or the prompt that rebuilds it.

hover-liftglowimage-toplightshadow

Lift and glow

Rises on hover and casts a tinted shadow instead of a gray one.

CSS
.card-036 {
  width: 270px;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #ede9fe;
  font-family: system-ui,sans-serif;
  color: #1e1b4b;
  transition: transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s
}
.card-036:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(124,58,237,.45)
}
.card-036__img {
  height: 150px;
  border-radius: 12px;
  background: linear-gradient(135deg,#c4b5fd,#7c3aed)
}
.card-036 h3 {
  margin: 14px 4px 4px;
  font-size: 17px
}
.card-036 p {
  margin: 0 4px 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #6d28d9
}
HTML
<article class="card-036">
  <div class="card-036__img"></div>
  <h3>Lift and glow</h3>
  <p>Rises on hover and casts a tinted shadow instead of a gray one.</p>
</article>
Prompt

Build a 270px white card with 14px padding, 18px radius and a faint 1px #ede9fe border. Image placeholder 150px with 12px radius and a 135deg violet gradient #c4b5fd to #7c3aed. 17px title #1e1b4b, 13px text in #6d28d9. On hover lift the card 8px with a springy cubic-bezier(.2,.8,.2,1) 250ms transition and add a violet glow shadow 0 24px 48px -12px rgba(124,58,237,.45).