Cards
Pricing Plan Card
A subscription plan card with a highlighted popular badge, large price and a bulleted feature list.
<div class="pricecard-card">
<span class="pricecard-badge">Most Popular</span>
<h3 class="pricecard-name">Pro Plan</h3>
<p class="pricecard-price"><span class="pricecard-amount">$19</span>/month</p>
<ul class="pricecard-list">
<li><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#3b82f6" stroke-width="3"><polyline points="4 12 9 17 20 6"></polyline></svg>Unlimited projects</li>
<li><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#3b82f6" stroke-width="3"><polyline points="4 12 9 17 20 6"></polyline></svg>Priority support</li>
<li><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#3b82f6" stroke-width="3"><polyline points="4 12 9 17 20 6"></polyline></svg>Custom domains</li>
</ul>
<button class="pricecard-btn">Choose Plan</button>
</div>
.pricecard-card {
box-sizing: border-box;
position: relative;
width: 260px;
background-color: #ffffff;
border: 2px solid #3b82f6;
border-radius: 14px;
padding: 28px 24px 24px;
box-shadow: 0 10px 24px rgba(59, 130, 246, 0.15);
transition: transform 0.2s ease;
font-family: system-ui, -apple-system, sans-serif;
}
.pricecard-card:hover {
transform: scale(1.02);
}
.pricecard-badge {
position: absolute;
top: -12px;
left: 24px;
background-color: #3b82f6;
color: #ffffff;
font-size: 11px;
font-weight: 700;
padding: 4px 12px;
border-radius: 999px;
}
.pricecard-name {
margin: 6px 0 8px;
font-size: 16px;
font-weight: 700;
color: #111827;
}
.pricecard-price {
margin: 0 0 20px;
color: #6b7280;
font-size: 14px;
}
.pricecard-amount {
font-size: 34px;
font-weight: 800;
color: #111827;
}
.pricecard-list {
list-style: none;
margin: 0 0 22px;
padding: 0;
}
.pricecard-list li {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: #374151;
padding: 6px 0;
}
.pricecard-btn {
width: 100%;
background-color: #3b82f6;
color: #ffffff;
border: none;
padding: 11px 0;
border-radius: 8px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: background-color 0.2s ease;
}
.pricecard-btn:hover {
background-color: #2f6fe0;
}