blankify

This pricing layout sells billions and it's simpler than you think #pricing #saas #css #html

Source Code

index.html
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Pricing Cards</title>
  <link rel="stylesheet" href="styles.css"/>
</head>
<body>
  <main class="grid">
    <div class="plan">
      <p class="name">Starter</p>
      <p class="price">$9</p>
      <p class="period">per month</p>
      <ul>
        <li>5 projects</li>
        <li>10GB storage</li>
        <li>Email support</li>
      </ul>
      <button>Get started</button>
    </div>
    <div class="plan popular">
      <span class="badge">POPULAR</span>
      <p class="name">Pro</p>
      <p class="price">$29</p>
      <p class="period">per month</p>
      <ul>
        <li>Unlimited projects</li>
        <li>100GB storage</li>
        <li>Priority support</li>
        <li>Custom domain</li>
      </ul>
      <button>Get started</button>
    </div>
    <div class="plan">
      <p class="name">Team</p>
      <p class="price">$79</p>
      <p class="period">per month</p>
      <ul>
        <li>Everything in Pro</li>
        <li>10 team seats</li>
        <li>Advanced analytics</li>
      </ul>
      <button>Get started</button>
    </div>
  </main>
</body>
</html>
styles.css
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(160deg, #050608, #18120a 60%, #221b0e);
  font-family: system-ui, sans-serif;
  padding: 20px;
}

.grid {
  display: flex;
  gap: 16px;
}

.plan {
  width: 240px;
  padding: 32px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan.popular {
  position: relative;
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.15);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: #fef3c7;
  margin-bottom: 4px;
}

.period {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 24px;
}

ul {
  list-style: none;
  margin-bottom: 24px;
}

li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

li::before {
  content: "✓";
  color: #fbbf24;
  font-weight: 700;
  flex-shrink: 0;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s;
}

.plan.popular button {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
}

.plan.popular button:hover {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}