💰 Pricing Card
Карточка тарифа с функциями и кнопкой действия
← Назад к Карточки
Базовый
HTML
<div class="pricing-card">
<div class="pricing-header">
<h3 class="pricing-name">Basic</h3>
<p class="pricing-desc">For individuals</p>
</div>
<div class="pricing-price">
<span class="price-amount">$9</span>
<span class="price-period">/month</span>
</div>
<ul class="pricing-features">
<li>✓ 5 Projects</li>
<li>✓ 10 GB Storage</li>
<li>✓ Basic Support</li>
<li class="disabled">✗ Custom Domain</li>
<li class="disabled">✗ Analytics</li>
</ul>
<button class="pricing-btn">Get Started</button>
</div>
CSS
.pricing-card {
width: 280px;
background: #ffffff;
border-radius: 16px;
padding: 2rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
border: 2px solid transparent;
}
.pricing-card:hover {
transform: translateY(-4px);
border-color: #667eea;
}
.pricing-header {
text-align: center;
margin-bottom: 1.5rem;
}
.pricing-name {
margin: 0 0 0.25rem;
font-size: 1.3rem;
font-weight: 700;
color: #1a1a2e;
}
.pricing-desc {
margin: 0;
font-size: 0.85rem;
color: #666;
}
.pricing-price {
text-align: center;
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid #eee;
}
.price-amount {
font-size: 3rem;
font-weight: 800;
color: #667eea;
}
.price-period {
font-size: 1rem;
color: #999;
}
.pricing-features {
list-style: none;
padding: 0;
margin: 0 0 1.5rem;
}
.pricing-features li {
padding: 0.5rem 0;
font-size: 0.9rem;
color: #1a1a2e;
}
.pricing-features li.disabled {
color: #ccc;
}
.pricing-btn {
width: 100%;
padding: 0.8rem;
background: transparent;
color: #667eea;
border: 2px solid #667eea;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.pricing-btn:hover {
background: #667eea;
color: white;
}
Популярный (с бейджем)
HTML
<div class="pricing-card-popular">
<span class="popular-badge">MOST POPULAR</span>
<div class="pricing-header-popular">
<h3 class="pricing-name-popular">Pro</h3>
<p class="pricing-desc-popular">For growing teams</p>
</div>
<div class="pricing-price-popular">
<span class="price-amount-popular">$29</span>
<span class="price-period-popular">/month</span>
</div>
<ul class="pricing-features-popular">
<li>✓ Unlimited Projects</li>
<li>✓ 100 GB Storage</li>
<li>✓ Priority Support</li>
<li>✓ Custom Domain</li>
<li>✓ Advanced Analytics</li>
</ul>
<button class="pricing-btn-popular">Get Started</button>
</div>
CSS
.pricing-card-popular {
width: 280px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 16px;
padding: 2rem;
position: relative;
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
transition: all 0.3s ease;
color: white;
}
.pricing-card-popular:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}
.popular-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
padding: 0.4rem 1rem;
background: #fa709a;
color: white;
border-radius: 20px;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 1px;
white-space: nowrap;
}
.pricing-header-popular {
text-align: center;
margin-bottom: 1.5rem;
}
.pricing-name-popular {
margin: 0 0 0.25rem;
font-size: 1.3rem;
font-weight: 700;
color: white;
}
.pricing-desc-popular {
margin: 0;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.8);
}
.pricing-price-popular {
text-align: center;
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.price-amount-popular {
font-size: 3rem;
font-weight: 800;
color: white;
}
.price-period-popular {
font-size: 1rem;
color: rgba(255, 255, 255, 0.8);
}
.pricing-features-popular {
list-style: none;
padding: 0;
margin: 0 0 1.5rem;
}
.pricing-features-popular li {
padding: 0.5rem 0;
font-size: 0.9rem;
color: white;
}
.pricing-btn-popular {
width: 100%;
padding: 0.8rem;
background: white;
color: #667eea;
border: none;
border-radius: 8px;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
}
.pricing-btn-popular:hover {
transform: scale(1.02);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
Enterprise
HTML
<div class="pricing-card-enterprise">
<div class="pricing-header-enterprise">
<span class="enterprise-icon">🏢</span>
<h3 class="pricing-name-enterprise">Enterprise</h3>
<p class="pricing-desc-enterprise">For large organizations</p>
</div>
<div class="pricing-price-enterprise">
<span class="price-text-enterprise">Custom</span>
</div>
<ul class="pricing-features-enterprise">
<li>✓ Everything in Pro</li>
<li>✓ Unlimited Storage</li>
<li>✓ 24/7 Phone Support</li>
<li>✓ Custom Integrations</li>
<li>✓ Dedicated Manager</li>
<li>✓ SLA Guarantee</li>
</ul>
<button class="pricing-btn-enterprise">Contact Sales</button>
</div>
CSS
.pricing-card-enterprise {
width: 280px;
background: #1a1a2e;
border-radius: 16px;
padding: 2rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
color: white;
}
.pricing-card-enterprise:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.pricing-header-enterprise {
text-align: center;
margin-bottom: 1.5rem;
}
.enterprise-icon {
font-size: 2rem;
display: block;
margin-bottom: 0.5rem;
}
.pricing-name-enterprise {
margin: 0 0 0.25rem;
font-size: 1.3rem;
font-weight: 700;
color: white;
}
.pricing-desc-enterprise {
margin: 0;
font-size: 0.85rem;
color: #a0a0b0;
}
.pricing-price-enterprise {
text-align: center;
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.price-text-enterprise {
font-size: 2rem;
font-weight: 800;
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.pricing-features-enterprise {
list-style: none;
padding: 0;
margin: 0 0 1.5rem;
}
.pricing-features-enterprise li {
padding: 0.5rem 0;
font-size: 0.9rem;
color: #d0d0e0;
}
.pricing-btn-enterprise {
width: 100%;
padding: 0.8rem;
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
color: #1a1a2e;
border: none;
border-radius: 8px;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
}
.pricing-btn-enterprise:hover {
transform: scale(1.02);
box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}