06 / 21
All 21 in 21 Tailwind CSS Pricing Sections
- 01Tailwind Classic Three Tier Pricing Section
- 02Tailwind Highlighted Popular Pricing Tier
- 03Tailwind Feature Comparison Pricing Table
- 04Tailwind Monthly Yearly Billing Toggle Pricing
- 05Tailwind Usage Slider Pricing Estimator
- 06Tailwind Single Premium Pricing Card
- 07Tailwind Bento Pricing Grid
- 08Tailwind Vertical Tier Timeline Pricing
- 09Tailwind Brutalist Print Pricing Zine
- 10Tailwind Glass Aurora Pricing Cards
- 11Tailwind Per-Seat Pricing Calculator
- 12Tailwind Animated Conic Border Pricing Cards
- 13Tailwind Editorial Two Column Pricing List
- 14Tailwind 3D Tilt Perspective Pricing Cards
- 15Tailwind Synthwave Neon Pricing Section
- 16Tailwind Pay What You Want Pricing Card
- 17Tailwind Currency Switcher Pricing Section
- 18Tailwind Social Proof Marquee Pricing
- 19Tailwind Feature Accordion Pricing Tiers
- 20Tailwind Cursor Spotlight Pricing Cards
- 21Tailwind Annual Savings Stripe Pricing
Tailwind Single Premium Pricing Card
One product, one price, one card — brass on deep navy, an 88px serif numeral and a testimonial doing the anchoring that a tier ladder normally does. The port's interesting move is the before: variant: the diagonal sheen that was a ::before rule becomes six utilities on the card itself, so the decoration travels with the element it decorates.
Complete Tailwind CSS landing page templates in HTML, React, Next.js and Vue · from $49
Cruip · Affiliate link
The code
<section class="tps-06 w-full min-h-svh flex items-center justify-center bg-tps06-bg bg-[radial-gradient(60%_60%_at_30%_0%,var(--color-tps06-glow1),transparent_60%),radial-gradient(50%_50%_at_90%_100%,var(--color-tps06-glow2),transparent_60%)] font-tps06-sans text-tps06-ink px-[clamp(20px,4vw,40px)] py-[clamp(28px,5vw,56px)]" aria-label="Pricing">
<article class="relative w-full max-w-[540px] p-[clamp(28px,5vw,44px)] rounded-[22px] text-center bg-linear-to-b from-tps06-card to-tps06-bg border border-tps06-gold shadow-[0_20px_60px_--theme(--color-tps06-glow3),inset_0_0_0_1px_--theme(--color-tps06-glow1)] before:content-[''] before:absolute before:inset-0 before:rounded-[22px] before:bg-[linear-gradient(135deg,transparent_40%,var(--color-tps06-sheen)_50%,transparent_60%)] before:pointer-events-none">
<span class="inline-block mb-4.5 px-3.5 py-1.25 rounded-full border border-tps06-goldedge text-[11px] font-semibold tracking-[0.18em] uppercase text-tps06-gold">One plan · everything included</span>
<h2 class="m-0 mb-3.5 font-tps06-display text-[clamp(28px,4.5vw,44px)] font-bold tracking-[-0.01em] text-white text-pretty">The whole product, <em class="italic text-tps06-gold">flat fee.</em></h2>
<p class="mx-auto mt-0 mb-7 max-w-[380px] text-[14.5px]/relaxed text-tps06-mut">Stop comparing tiers. One price. Every feature. Every team member. As long as you need it.</p>
<div class="flex flex-col items-center gap-1 mb-7 py-5.5 border-y border-tps06-goldsoft">
<span class="font-tps06-display text-[clamp(56px,9vw,88px)] font-extrabold leading-none tracking-[-0.04em] text-transparent bg-linear-to-b from-tps06-gold2 to-tps06-gold bg-clip-text forced-colors:text-[CanvasText]"><em class="align-top pr-0.5 text-[0.5em] not-italic opacity-85">$</em>249</span>
<span class="text-[13px] text-tps06-mut">per month, billed annually</span>
</div>
<ul class="list-none p-0 m-0 mb-7 grid grid-cols-1 sm:grid-cols-2 gap-y-2.5 gap-x-5.5 text-left text-[13.5px] text-tps06-ink">
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited team members</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited projects & storage</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SSO & SAML included</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SOC 2 & HIPAA ready</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Priority email + chat support</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>30-day money-back guarantee</li>
</ul>
<a href="#buy" class="relative z-1 block px-5 py-3.5 rounded-[10px] text-[15px] font-bold tracking-[0.01em] no-underline text-tps06-bg bg-linear-to-b from-tps06-gold2 to-tps06-gold shadow-[0_10px_24px_--theme(--color-tps06-glow4)] transition-transform duration-200 hover:-translate-y-px focus-visible:outline-2 focus-visible:outline-tps06-gold2 focus-visible:outline-offset-3 motion-reduce:transition-none motion-reduce:hover:translate-y-0">Buy now — instant access</a>
<p class="mt-3 mb-6.5 text-xs text-tps06-dim">No demo required. Cancel any time, refund any time within 30 days.</p>
<blockquote class="m-0 pt-5.5 border-t border-dashed border-tps06-goldsoft">
<p class="m-0 mb-2 font-tps06-display text-base/snug italic text-tps06-ink">“It paid for itself in the first week. We never looked at the tier ladder again.”</p>
<cite class="not-italic text-xs tracking-[0.05em] text-tps06-dim">— Maya R., Head of Ops at Northwood</cite>
</blockquote>
</article>
</section><section class="tps-06 w-full min-h-svh flex items-center justify-center bg-tps06-bg bg-[radial-gradient(60%_60%_at_30%_0%,var(--color-tps06-glow1),transparent_60%),radial-gradient(50%_50%_at_90%_100%,var(--color-tps06-glow2),transparent_60%)] font-tps06-sans text-tps06-ink px-[clamp(20px,4vw,40px)] py-[clamp(28px,5vw,56px)]" aria-label="Pricing">
<article class="relative w-full max-w-[540px] p-[clamp(28px,5vw,44px)] rounded-[22px] text-center bg-linear-to-b from-tps06-card to-tps06-bg border border-tps06-gold shadow-[0_20px_60px_--theme(--color-tps06-glow3),inset_0_0_0_1px_--theme(--color-tps06-glow1)] before:content-[''] before:absolute before:inset-0 before:rounded-[22px] before:bg-[linear-gradient(135deg,transparent_40%,var(--color-tps06-sheen)_50%,transparent_60%)] before:pointer-events-none">
<span class="inline-block mb-4.5 px-3.5 py-1.25 rounded-full border border-tps06-goldedge text-[11px] font-semibold tracking-[0.18em] uppercase text-tps06-gold">One plan · everything included</span>
<h2 class="m-0 mb-3.5 font-tps06-display text-[clamp(28px,4.5vw,44px)] font-bold tracking-[-0.01em] text-white text-pretty">The whole product, <em class="italic text-tps06-gold">flat fee.</em></h2>
<p class="mx-auto mt-0 mb-7 max-w-[380px] text-[14.5px]/relaxed text-tps06-mut">Stop comparing tiers. One price. Every feature. Every team member. As long as you need it.</p>
<div class="flex flex-col items-center gap-1 mb-7 py-5.5 border-y border-tps06-goldsoft">
<span class="font-tps06-display text-[clamp(56px,9vw,88px)] font-extrabold leading-none tracking-[-0.04em] text-transparent bg-linear-to-b from-tps06-gold2 to-tps06-gold bg-clip-text forced-colors:text-[CanvasText]"><em class="align-top pr-0.5 text-[0.5em] not-italic opacity-85">$</em>249</span>
<span class="text-[13px] text-tps06-mut">per month, billed annually</span>
</div>
<ul class="list-none p-0 m-0 mb-7 grid grid-cols-1 sm:grid-cols-2 gap-y-2.5 gap-x-5.5 text-left text-[13.5px] text-tps06-ink">
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited team members</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited projects & storage</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SSO & SAML included</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SOC 2 & HIPAA ready</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Priority email + chat support</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>30-day money-back guarantee</li>
</ul>
<a href="#buy" class="relative z-1 block px-5 py-3.5 rounded-[10px] text-[15px] font-bold tracking-[0.01em] no-underline text-tps06-bg bg-linear-to-b from-tps06-gold2 to-tps06-gold shadow-[0_10px_24px_--theme(--color-tps06-glow4)] transition-transform duration-200 hover:-translate-y-px focus-visible:outline-2 focus-visible:outline-tps06-gold2 focus-visible:outline-offset-3 motion-reduce:transition-none motion-reduce:hover:translate-y-0">Buy now — instant access</a>
<p class="mt-3 mb-6.5 text-xs text-tps06-dim">No demo required. Cancel any time, refund any time within 30 days.</p>
<blockquote class="m-0 pt-5.5 border-t border-dashed border-tps06-goldsoft">
<p class="m-0 mb-2 font-tps06-display text-base/snug italic text-tps06-ink">“It paid for itself in the first week. We never looked at the tier ladder again.”</p>
<cite class="not-italic text-xs tracking-[0.05em] text-tps06-dim">— Maya R., Head of Ops at Northwood</cite>
</blockquote>
</article>
</section>@import "tailwindcss";
@theme {
--color-tps06-bg: #0b0b1a;
--color-tps06-bg: oklch(0.15 0.03 280);
--color-tps06-card: #14142a;
--color-tps06-card: oklch(0.2 0.04 280);
--color-tps06-ink: #f4ecd8;
--color-tps06-ink: oklch(0.94 0.03 90);
--color-tps06-mut: #b8a888;
--color-tps06-mut: oklch(0.73 0.05 90);
--color-tps06-dim: #8a8068;
--color-tps06-dim: oklch(0.58 0.04 90);
--color-tps06-gold: #d4af37;
--color-tps06-gold: oklch(0.76 0.13 88);
--color-tps06-gold2: #ffd479;
--color-tps06-gold2: oklch(0.89 0.12 88);
--color-tps06-goldedge: #a68a2c;
--color-tps06-goldedge: oklch(0.62 0.11 88);
--color-tps06-goldsoft: #4a3f1d;
--color-tps06-goldsoft: oklch(0.36 0.06 88);
--color-tps06-sheen: #ffd4791a;
--color-tps06-sheen: oklch(0.89 0.12 88 / 0.06);
--color-tps06-glow1: #d4af371f;
--color-tps06-glow1: oklch(0.76 0.13 88 / 0.12);
--color-tps06-glow2: #d4af371a;
--color-tps06-glow2: oklch(0.76 0.13 88 / 0.1);
--color-tps06-glow3: #d4af3726;
--color-tps06-glow3: oklch(0.76 0.13 88 / 0.15);
--color-tps06-glow4: #d4af374d;
--color-tps06-glow4: oklch(0.76 0.13 88 / 0.3);
--font-tps06-sans: 'Inter', system-ui, sans-serif;
--font-tps06-display: 'Playfair Display', Georgia, serif;
}
/* Root rule: the full-bleed contract, stated in CSS as well as in the markup's
w-full min-h-svh, so the section is correctly sized in the moment before the
browser build has compiled its utilities. */
.tps-06 {
width: 100%;
min-height: 100svh;
}@import "tailwindcss";
@theme {
--color-tps06-bg: #0b0b1a;
--color-tps06-bg: oklch(0.15 0.03 280);
--color-tps06-card: #14142a;
--color-tps06-card: oklch(0.2 0.04 280);
--color-tps06-ink: #f4ecd8;
--color-tps06-ink: oklch(0.94 0.03 90);
--color-tps06-mut: #b8a888;
--color-tps06-mut: oklch(0.73 0.05 90);
--color-tps06-dim: #8a8068;
--color-tps06-dim: oklch(0.58 0.04 90);
--color-tps06-gold: #d4af37;
--color-tps06-gold: oklch(0.76 0.13 88);
--color-tps06-gold2: #ffd479;
--color-tps06-gold2: oklch(0.89 0.12 88);
--color-tps06-goldedge: #a68a2c;
--color-tps06-goldedge: oklch(0.62 0.11 88);
--color-tps06-goldsoft: #4a3f1d;
--color-tps06-goldsoft: oklch(0.36 0.06 88);
--color-tps06-sheen: #ffd4791a;
--color-tps06-sheen: oklch(0.89 0.12 88 / 0.06);
--color-tps06-glow1: #d4af371f;
--color-tps06-glow1: oklch(0.76 0.13 88 / 0.12);
--color-tps06-glow2: #d4af371a;
--color-tps06-glow2: oklch(0.76 0.13 88 / 0.1);
--color-tps06-glow3: #d4af3726;
--color-tps06-glow3: oklch(0.76 0.13 88 / 0.15);
--color-tps06-glow4: #d4af374d;
--color-tps06-glow4: oklch(0.76 0.13 88 / 0.3);
--font-tps06-sans: 'Inter', system-ui, sans-serif;
--font-tps06-display: 'Playfair Display', Georgia, serif;
}
/* Root rule: the full-bleed contract, stated in CSS as well as in the markup's
w-full min-h-svh, so the section is correctly sized in the moment before the
browser build has compiled its utilities. */
.tps-06 {
width: 100%;
min-height: 100svh;
}Setup — do this once per project
Skip this if your project already runs Tailwind v4.
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>Compiles in the browser — perfect for a CodePen or a quick test, not for production.
npm install tailwindcss @tailwindcss/vite
npm install tailwindcss @tailwindcss/vite// vite.config.js ("type": "module" in package.json)
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [tailwindcss()],
})// vite.config.js ("type": "module" in package.json)
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [tailwindcss()],
})Any v4 setup works — Vite, PostCSS or the CLI. Nothing in this demo is bundler-specific.
@import "tailwindcss";
@theme {
--color-tps06-bg: #0b0b1a;
--color-tps06-bg: oklch(0.15 0.03 280);
--color-tps06-card: #14142a;
--color-tps06-card: oklch(0.2 0.04 280);
--color-tps06-ink: #f4ecd8;
--color-tps06-ink: oklch(0.94 0.03 90);
--color-tps06-mut: #b8a888;
--color-tps06-mut: oklch(0.73 0.05 90);
--color-tps06-dim: #8a8068;
--color-tps06-dim: oklch(0.58 0.04 90);
--color-tps06-gold: #d4af37;
--color-tps06-gold: oklch(0.76 0.13 88);
--color-tps06-gold2: #ffd479;
--color-tps06-gold2: oklch(0.89 0.12 88);
--color-tps06-goldedge: #a68a2c;
--color-tps06-goldedge: oklch(0.62 0.11 88);
--color-tps06-goldsoft: #4a3f1d;
--color-tps06-goldsoft: oklch(0.36 0.06 88);
--color-tps06-sheen: #ffd4791a;
--color-tps06-sheen: oklch(0.89 0.12 88 / 0.06);
--color-tps06-glow1: #d4af371f;
--color-tps06-glow1: oklch(0.76 0.13 88 / 0.12);
--color-tps06-glow2: #d4af371a;
--color-tps06-glow2: oklch(0.76 0.13 88 / 0.1);
--color-tps06-glow3: #d4af3726;
--color-tps06-glow3: oklch(0.76 0.13 88 / 0.15);
--color-tps06-glow4: #d4af374d;
--color-tps06-glow4: oklch(0.76 0.13 88 / 0.3);
--font-tps06-sans: 'Inter', system-ui, sans-serif;
--font-tps06-display: 'Playfair Display', Georgia, serif;
}
/* Root rule: the full-bleed contract, stated in CSS as well as in the markup's
w-full min-h-svh, so the section is correctly sized in the moment before the
browser build has compiled its utilities. */
.tps-06 {
width: 100%;
min-height: 100svh;
}@import "tailwindcss";
@theme {
--color-tps06-bg: #0b0b1a;
--color-tps06-bg: oklch(0.15 0.03 280);
--color-tps06-card: #14142a;
--color-tps06-card: oklch(0.2 0.04 280);
--color-tps06-ink: #f4ecd8;
--color-tps06-ink: oklch(0.94 0.03 90);
--color-tps06-mut: #b8a888;
--color-tps06-mut: oklch(0.73 0.05 90);
--color-tps06-dim: #8a8068;
--color-tps06-dim: oklch(0.58 0.04 90);
--color-tps06-gold: #d4af37;
--color-tps06-gold: oklch(0.76 0.13 88);
--color-tps06-gold2: #ffd479;
--color-tps06-gold2: oklch(0.89 0.12 88);
--color-tps06-goldedge: #a68a2c;
--color-tps06-goldedge: oklch(0.62 0.11 88);
--color-tps06-goldsoft: #4a3f1d;
--color-tps06-goldsoft: oklch(0.36 0.06 88);
--color-tps06-sheen: #ffd4791a;
--color-tps06-sheen: oklch(0.89 0.12 88 / 0.06);
--color-tps06-glow1: #d4af371f;
--color-tps06-glow1: oklch(0.76 0.13 88 / 0.12);
--color-tps06-glow2: #d4af371a;
--color-tps06-glow2: oklch(0.76 0.13 88 / 0.1);
--color-tps06-glow3: #d4af3726;
--color-tps06-glow3: oklch(0.76 0.13 88 / 0.15);
--color-tps06-glow4: #d4af374d;
--color-tps06-glow4: oklch(0.76 0.13 88 / 0.3);
--font-tps06-sans: 'Inter', system-ui, sans-serif;
--font-tps06-display: 'Playfair Display', Georgia, serif;
}
/* Root rule: the full-bleed contract, stated in CSS as well as in the markup's
w-full min-h-svh, so the section is correctly sized in the moment before the
browser build has compiled its utilities. */
.tps-06 {
width: 100%;
min-height: 100svh;
}<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;0,800;1,500&display=swap">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;0,800;1,500&display=swap">What changed in the port
Which parts became utilities, which stayed CSS, and why.
- The
before:variant is the headline of this port: a decorative::beforesheen that used to be its own rule now lives on the card's class list, which means it can be copied, moved or deleted with the element. - Two radial gradients plus a base colour collapse into one arbitrary
bg-[…]value referencing two alpha tokens — no wrapper div, no separate atmosphere layer. - Both shadows (outer glow, inner ring) sit in one arbitrary
shadow-[…]with--theme()colour references, so geometry lives on the element and colour lives in@theme. - The serif is an
@themefont token, which mintsfont-tps06-displayfor the three places that need it instead of repeating a five-name fallback stack. - The 540px feature-column collapse becomes
grid-cols-1 sm:grid-cols-2— mobile-first, one utility, no media query. - The CTA gains
relative z-1, because the sheen pseudo-element covers the card: a small structural cost of keeping the overlay inside.
Here's a working CSS demo from CodeFronts. Use it as-is or adapt to your framework. All classes are scoped under a unique prefix so the code won't collide with your existing styles. MIT licensed.
Demo: Tailwind Single Premium Pricing Card
Source: https://codefronts.com/layouts/tailwind-css-pricing-sections/tailwind-single-premium-pricing-card/
One product, one price, one card — brass on deep navy, an 88px serif numeral and a testimonial doing the anchoring that a tier ladder normally does. The port's interesting move is the before: variant: the diagonal sheen that was a ::before rule becomes six utilities on the card itself, so the decoration travels with the element it decorates.
## HTML
```html
<section class="tps-06 w-full min-h-svh flex items-center justify-center bg-tps06-bg bg-[radial-gradient(60%_60%_at_30%_0%,var(--color-tps06-glow1),transparent_60%),radial-gradient(50%_50%_at_90%_100%,var(--color-tps06-glow2),transparent_60%)] font-tps06-sans text-tps06-ink px-[clamp(20px,4vw,40px)] py-[clamp(28px,5vw,56px)]" aria-label="Pricing">
<article class="relative w-full max-w-[540px] p-[clamp(28px,5vw,44px)] rounded-[22px] text-center bg-linear-to-b from-tps06-card to-tps06-bg border border-tps06-gold shadow-[0_20px_60px_--theme(--color-tps06-glow3),inset_0_0_0_1px_--theme(--color-tps06-glow1)] before:content-[''] before:absolute before:inset-0 before:rounded-[22px] before:bg-[linear-gradient(135deg,transparent_40%,var(--color-tps06-sheen)_50%,transparent_60%)] before:pointer-events-none">
<span class="inline-block mb-4.5 px-3.5 py-1.25 rounded-full border border-tps06-goldedge text-[11px] font-semibold tracking-[0.18em] uppercase text-tps06-gold">One plan · everything included</span>
<h2 class="m-0 mb-3.5 font-tps06-display text-[clamp(28px,4.5vw,44px)] font-bold tracking-[-0.01em] text-white text-pretty">The whole product, <em class="italic text-tps06-gold">flat fee.</em></h2>
<p class="mx-auto mt-0 mb-7 max-w-[380px] text-[14.5px]/relaxed text-tps06-mut">Stop comparing tiers. One price. Every feature. Every team member. As long as you need it.</p>
<div class="flex flex-col items-center gap-1 mb-7 py-5.5 border-y border-tps06-goldsoft">
<span class="font-tps06-display text-[clamp(56px,9vw,88px)] font-extrabold leading-none tracking-[-0.04em] text-transparent bg-linear-to-b from-tps06-gold2 to-tps06-gold bg-clip-text forced-colors:text-[CanvasText]"><em class="align-top pr-0.5 text-[0.5em] not-italic opacity-85">$</em>249</span>
<span class="text-[13px] text-tps06-mut">per month, billed annually</span>
</div>
<ul class="list-none p-0 m-0 mb-7 grid grid-cols-1 sm:grid-cols-2 gap-y-2.5 gap-x-5.5 text-left text-[13.5px] text-tps06-ink">
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited team members</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited projects & storage</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SSO & SAML included</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SOC 2 & HIPAA ready</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Priority email + chat support</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>30-day money-back guarantee</li>
</ul>
<a href="#buy" class="relative z-1 block px-5 py-3.5 rounded-[10px] text-[15px] font-bold tracking-[0.01em] no-underline text-tps06-bg bg-linear-to-b from-tps06-gold2 to-tps06-gold shadow-[0_10px_24px_--theme(--color-tps06-glow4)] transition-transform duration-200 hover:-translate-y-px focus-visible:outline-2 focus-visible:outline-tps06-gold2 focus-visible:outline-offset-3 motion-reduce:transition-none motion-reduce:hover:translate-y-0">Buy now — instant access</a>
<p class="mt-3 mb-6.5 text-xs text-tps06-dim">No demo required. Cancel any time, refund any time within 30 days.</p>
<blockquote class="m-0 pt-5.5 border-t border-dashed border-tps06-goldsoft">
<p class="m-0 mb-2 font-tps06-display text-base/snug italic text-tps06-ink">“It paid for itself in the first week. We never looked at the tier ladder again.”</p>
<cite class="not-italic text-xs tracking-[0.05em] text-tps06-dim">— Maya R., Head of Ops at Northwood</cite>
</blockquote>
</article>
</section>
```
## CSS
```css
@import "tailwindcss";
@theme {
--color-tps06-bg: #0b0b1a;
--color-tps06-bg: oklch(0.15 0.03 280);
--color-tps06-card: #14142a;
--color-tps06-card: oklch(0.2 0.04 280);
--color-tps06-ink: #f4ecd8;
--color-tps06-ink: oklch(0.94 0.03 90);
--color-tps06-mut: #b8a888;
--color-tps06-mut: oklch(0.73 0.05 90);
--color-tps06-dim: #8a8068;
--color-tps06-dim: oklch(0.58 0.04 90);
--color-tps06-gold: #d4af37;
--color-tps06-gold: oklch(0.76 0.13 88);
--color-tps06-gold2: #ffd479;
--color-tps06-gold2: oklch(0.89 0.12 88);
--color-tps06-goldedge: #a68a2c;
--color-tps06-goldedge: oklch(0.62 0.11 88);
--color-tps06-goldsoft: #4a3f1d;
--color-tps06-goldsoft: oklch(0.36 0.06 88);
--color-tps06-sheen: #ffd4791a;
--color-tps06-sheen: oklch(0.89 0.12 88 / 0.06);
--color-tps06-glow1: #d4af371f;
--color-tps06-glow1: oklch(0.76 0.13 88 / 0.12);
--color-tps06-glow2: #d4af371a;
--color-tps06-glow2: oklch(0.76 0.13 88 / 0.1);
--color-tps06-glow3: #d4af3726;
--color-tps06-glow3: oklch(0.76 0.13 88 / 0.15);
--color-tps06-glow4: #d4af374d;
--color-tps06-glow4: oklch(0.76 0.13 88 / 0.3);
--font-tps06-sans: 'Inter', system-ui, sans-serif;
--font-tps06-display: 'Playfair Display', Georgia, serif;
}
/* Root rule: the full-bleed contract, stated in CSS as well as in the markup's
w-full min-h-svh, so the section is correctly sized in the moment before the
browser build has compiled its utilities. */
.tps-06 {
width: 100%;
min-height: 100svh;
}
```Here's a working CSS demo from CodeFronts. Use it as-is or adapt to your framework. All classes are scoped under a unique prefix so the code won't collide with your existing styles. MIT licensed.
Demo: Tailwind Single Premium Pricing Card
Source: https://codefronts.com/layouts/tailwind-css-pricing-sections/tailwind-single-premium-pricing-card/
One product, one price, one card — brass on deep navy, an 88px serif numeral and a testimonial doing the anchoring that a tier ladder normally does. The port's interesting move is the before: variant: the diagonal sheen that was a ::before rule becomes six utilities on the card itself, so the decoration travels with the element it decorates.
## HTML
```html
<section class="tps-06 w-full min-h-svh flex items-center justify-center bg-tps06-bg bg-[radial-gradient(60%_60%_at_30%_0%,var(--color-tps06-glow1),transparent_60%),radial-gradient(50%_50%_at_90%_100%,var(--color-tps06-glow2),transparent_60%)] font-tps06-sans text-tps06-ink px-[clamp(20px,4vw,40px)] py-[clamp(28px,5vw,56px)]" aria-label="Pricing">
<article class="relative w-full max-w-[540px] p-[clamp(28px,5vw,44px)] rounded-[22px] text-center bg-linear-to-b from-tps06-card to-tps06-bg border border-tps06-gold shadow-[0_20px_60px_--theme(--color-tps06-glow3),inset_0_0_0_1px_--theme(--color-tps06-glow1)] before:content-[''] before:absolute before:inset-0 before:rounded-[22px] before:bg-[linear-gradient(135deg,transparent_40%,var(--color-tps06-sheen)_50%,transparent_60%)] before:pointer-events-none">
<span class="inline-block mb-4.5 px-3.5 py-1.25 rounded-full border border-tps06-goldedge text-[11px] font-semibold tracking-[0.18em] uppercase text-tps06-gold">One plan · everything included</span>
<h2 class="m-0 mb-3.5 font-tps06-display text-[clamp(28px,4.5vw,44px)] font-bold tracking-[-0.01em] text-white text-pretty">The whole product, <em class="italic text-tps06-gold">flat fee.</em></h2>
<p class="mx-auto mt-0 mb-7 max-w-[380px] text-[14.5px]/relaxed text-tps06-mut">Stop comparing tiers. One price. Every feature. Every team member. As long as you need it.</p>
<div class="flex flex-col items-center gap-1 mb-7 py-5.5 border-y border-tps06-goldsoft">
<span class="font-tps06-display text-[clamp(56px,9vw,88px)] font-extrabold leading-none tracking-[-0.04em] text-transparent bg-linear-to-b from-tps06-gold2 to-tps06-gold bg-clip-text forced-colors:text-[CanvasText]"><em class="align-top pr-0.5 text-[0.5em] not-italic opacity-85">$</em>249</span>
<span class="text-[13px] text-tps06-mut">per month, billed annually</span>
</div>
<ul class="list-none p-0 m-0 mb-7 grid grid-cols-1 sm:grid-cols-2 gap-y-2.5 gap-x-5.5 text-left text-[13.5px] text-tps06-ink">
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited team members</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Unlimited projects & storage</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SSO & SAML included</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>SOC 2 & HIPAA ready</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>Priority email + chat support</li>
<li><span class="inline-block w-5 font-bold text-tps06-gold" aria-hidden="true">✓</span>30-day money-back guarantee</li>
</ul>
<a href="#buy" class="relative z-1 block px-5 py-3.5 rounded-[10px] text-[15px] font-bold tracking-[0.01em] no-underline text-tps06-bg bg-linear-to-b from-tps06-gold2 to-tps06-gold shadow-[0_10px_24px_--theme(--color-tps06-glow4)] transition-transform duration-200 hover:-translate-y-px focus-visible:outline-2 focus-visible:outline-tps06-gold2 focus-visible:outline-offset-3 motion-reduce:transition-none motion-reduce:hover:translate-y-0">Buy now — instant access</a>
<p class="mt-3 mb-6.5 text-xs text-tps06-dim">No demo required. Cancel any time, refund any time within 30 days.</p>
<blockquote class="m-0 pt-5.5 border-t border-dashed border-tps06-goldsoft">
<p class="m-0 mb-2 font-tps06-display text-base/snug italic text-tps06-ink">“It paid for itself in the first week. We never looked at the tier ladder again.”</p>
<cite class="not-italic text-xs tracking-[0.05em] text-tps06-dim">— Maya R., Head of Ops at Northwood</cite>
</blockquote>
</article>
</section>
```
## CSS
```css
@import "tailwindcss";
@theme {
--color-tps06-bg: #0b0b1a;
--color-tps06-bg: oklch(0.15 0.03 280);
--color-tps06-card: #14142a;
--color-tps06-card: oklch(0.2 0.04 280);
--color-tps06-ink: #f4ecd8;
--color-tps06-ink: oklch(0.94 0.03 90);
--color-tps06-mut: #b8a888;
--color-tps06-mut: oklch(0.73 0.05 90);
--color-tps06-dim: #8a8068;
--color-tps06-dim: oklch(0.58 0.04 90);
--color-tps06-gold: #d4af37;
--color-tps06-gold: oklch(0.76 0.13 88);
--color-tps06-gold2: #ffd479;
--color-tps06-gold2: oklch(0.89 0.12 88);
--color-tps06-goldedge: #a68a2c;
--color-tps06-goldedge: oklch(0.62 0.11 88);
--color-tps06-goldsoft: #4a3f1d;
--color-tps06-goldsoft: oklch(0.36 0.06 88);
--color-tps06-sheen: #ffd4791a;
--color-tps06-sheen: oklch(0.89 0.12 88 / 0.06);
--color-tps06-glow1: #d4af371f;
--color-tps06-glow1: oklch(0.76 0.13 88 / 0.12);
--color-tps06-glow2: #d4af371a;
--color-tps06-glow2: oklch(0.76 0.13 88 / 0.1);
--color-tps06-glow3: #d4af3726;
--color-tps06-glow3: oklch(0.76 0.13 88 / 0.15);
--color-tps06-glow4: #d4af374d;
--color-tps06-glow4: oklch(0.76 0.13 88 / 0.3);
--font-tps06-sans: 'Inter', system-ui, sans-serif;
--font-tps06-display: 'Playfair Display', Georgia, serif;
}
/* Root rule: the full-bleed contract, stated in CSS as well as in the markup's
w-full min-h-svh, so the section is correctly sized in the moment before the
browser build has compiled its utilities. */
.tps-06 {
width: 100%;
min-height: 100svh;
}
```How this works
The sheen stays on the card. The before: variant carries a whole pseudo-element in a class list:
<article class="relative rounded-[22px]
before:content-[''] before:absolute before:inset-0 before:rounded-[22px]
before:bg-[linear-gradient(135deg,transparent_40%,var(--color-tps06-sheen)_50%,transparent_60%)]
before:pointer-events-none">No wrapper div, no second rule in a stylesheet several screens away. The card is still one element in the markup, and the thing that makes it look expensive travels with it — at the cost of six utilities, which is the honest price.
Serif display type is a token, not a hardcoded stack. --font-tps06-display in @theme mints font-tps06-display, used on the headline, the numeral and the pull quote — three places, one name. The body stays Inter, so the contrast between the two registers is the design.
One tier means the copy carries the conversion. There is no anchor to compare against, so the layout leans on a bordered price block, a money-back line under the CTA and a real testimonial. All three are plain semantic elements: the port changed how they are styled, not what they are.
Two gradients, no extra nodes. The section's glow is a single bg-[radial-gradient(…),radial-gradient(…),…] value. Comma-separated layers survive the arbitrary-value syntax as long as every space is an underscore.
Make it yours
- Swap the display face:
--font-tps06-displayis the only place the serif is named. Playfair Display reads editorial, Cormorant reads couture, a slab reads institutional. - Retheme the metal through
--color-tps06-gold/--color-tps06-gold2— badge, borders, checks, numeral, CTA and both shadows read them. - Feature count: the grid is
sm:grid-cols-2; eight features still balance, ten wantsm:grid-cols-2 lg:grid-cols-3and a wider card. - Drop the sheen entirely by deleting the six
before:utilities — nothing else references them. - Light mode: swap the navy tokens for warm ivory, darken the gold two steps for text contrast, and reduce the outer glow to ~8% or it reads as a smudge on cream.
Gotchas — read before shipping
before:content-['']is mandatory. Tailwind does not inject a defaultcontentvalue for arbitrary pseudo-element utilities, and without it nothing generates — silently.- The sheen must keep
before:pointer-events-none— it covers the entire card, CTA included. - Arbitrary background layers take no literal spaces: every space inside the
radial-gradient(…)list is an underscore, and60%stops must sit directly against their colour. - The gradient numeral needs a
forced-colors:fallback like demos 02 and 05, or High Contrast Mode renders an invisible price. <cite>is italic by default; withoutnot-italicit fights the italic pull quote directly above it.- Keep the money-back line as real text under the CTA. Moving it into a
titleor tooltip removes the reassurance from the moment of commitment — and from screen readers.
Browser support
| Chrome | Safari | Firefox | Edge |
|---|---|---|---|
| 111+ | 16.4+ | 128+ | 111+ |
background-clip: text is Baseline 2023; everything else here is long-standing CSS. The before: variant compiles to an ordinary ::before rule, so it carries no extra runtime cost.