Zoom na imagem
Zoom na imagem: um card em CSS. Copie as regras, ou o prompt que o reconstrói.
Motion that explains
Use easing to tell users where things went.
CSS
.card-005 {
width: 300px;
font-family: system-ui,sans-serif;
color: #18181b
}
.card-005__frame {
height: 190px;
border-radius: 12px;
overflow: hidden
}
.card-005__img {
height: 100%;
background: radial-gradient(circle at 30% 30%,#f9a8d4,#c084fc 60%,#7e22ce);
transition: transform .6s cubic-bezier(.2,.8,.2,1)
}
.card-005:hover .card-005__img {
transform: scale(1.08)
}
.card-005 h3 {
margin: 14px 0 4px;
font-size: 18px
}
.card-005 p {
margin: 0;
font-size: 14px;
color: #52525b
}
.card-005:hover h3 {
text-decoration: underline;
text-underline-offset: 3px
}
HTML
<article class="card-005">
<div class="card-005__frame"><div class="card-005__img"></div></div>
<h3>Motion that explains</h3>
<p>Use easing to tell users where things went.</p>
</article>Prompt
Crie um card sem borda de 300px: uma moldura de imagem de 190px com raio de 12px e overflow hidden contendo um gradiente radial (circle at 30% 30%, #f9a8d4 para #c084fc para #7e22ce). Abaixo, um título 18px em #18181b e texto 14px em #52525b. No hover escale a imagem para 1.08 em 600ms com easing cubic-bezier(.2,.8,.2,1), e sublinhe o título com offset de 3px.