Highlighted pricing card
The recommended plan stands out.
CSS · Highlighted pricing cardIntermediate
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { padding: 1.5rem; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; }
.plan.featured {
border-color: #2563eb;
box-shadow: 0 12px 30px rgb(37 99 235 / 0.18);
transform: translateY(-8px);
}
.plan .price { font-size: 2.25rem; font-weight: 800; }pricingcardtransformborder