Icon tile feature
Icon tile feature: a CSS card. Copy the rules, or the prompt that rebuilds it.
Line numbers in errors
Every stack trace links to the file and line.
CSS
.card-063 {
width: 260px;
padding: 24px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 16px;
font-family: system-ui,sans-serif;
color: #111827;
transition: transform .2s,box-shadow .2s
}
.card-063:hover {
transform: translateY(-4px);
box-shadow: 0 12px 30px rgba(0,0,0,.08)
}
.card-063__icon {
display: grid;
place-items: center;
width: 44px;
height: 44px;
margin-bottom: 16px;
border-radius: 12px;
background: #fef3c7;
color: #d97706;
transition: background .2s,color .2s
}
.card-063:hover .card-063__icon {
background: #d97706;
color: #fff
}
.card-063 h3 {
margin: 0 0 6px;
font-size: 17px
}
.card-063 p {
margin: 0;
font-size: 14px;
line-height: 1.55;
color: #6b7280
}
HTML
<article class="card-063">
<span class="card-063__icon"><svg viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" stroke-width="2"><path d="M13 2L3 14h8l-1 8 10-12h-8z"/></svg></span>
<h3>Line numbers in errors</h3>
<p>Every stack trace links to the file and line.</p>
</article>Prompt
Create a 260px feature card: white, 1px #e5e7eb border, 16px radius, 24px padding. A 44px icon tile with 12px radius, amber #fef3c7 background and a #d97706 lightning-bolt SVG; on hover the tile inverts to solid #d97706 with a white icon while the card lifts 4px with shadow 0 12px 30px rgba(0,0,0,.08). 17px title, 14px #6b7280 text with 1.55 line-height.