Bottom fade image
Bottom fade image: a CSS card. Copy the rules, or the prompt that rebuilds it.
Case study
Rebuilding a checkout in six weeks
CSS
.card-003 {
position: relative;
width: 300px;
height: 380px;
border-radius: 18px;
overflow: hidden;
background: linear-gradient(200deg,#0ea5e9,#6366f1 55%,#312e81);
font-family: system-ui,sans-serif;
color: #fff
}
.card-003::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to top,rgba(0,0,0,.75) 0,rgba(0,0,0,0) 55%)
}
.card-003__text {
position: absolute;
left: 22px;
right: 22px;
bottom: 22px;
z-index: 1
}
.card-003 small {
display: block;
margin-bottom: 6px;
font-size: 12px;
letter-spacing: .08em;
text-transform: uppercase;
opacity: .8
}
.card-003 h3 {
margin: 0;
font-size: 22px;
line-height: 1.2
}
.card-003:hover::after {
background: linear-gradient(to top,rgba(0,0,0,.85) 0,rgba(0,0,0,.1) 70%)
}
HTML
<article class="card-003">
<div class="card-003__text">
<small>Case study</small>
<h3>Rebuilding a checkout in six weeks</h3>
</div>
</article>Prompt
Create a 300x380px portrait card, 18px radius, fully covered by a 200deg gradient #0ea5e9 to #6366f1 to #312e81 as the image. Overlay a bottom-to-top fade from rgba(0,0,0,.75) to transparent at 55%. Anchor text at bottom-left with 22px inset: an uppercase 12px label "Case study" at 80% opacity and a 22px white title. On hover deepen the fade so it reaches 70% up the card.