Pricing 12
A real semantic comparison table with a sticky first column — rows cascade into view once it scrolls into the viewport.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About Pricing 12
Pricing 12 is a pricing section in the Pricing Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 27, 2026.
- pricing
- comparison table
- sticky column
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- ARIA in the markup: aria-label.
- HTML elements used: section, table, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 1024px.
React + TypeScript + Tailwind CSS
3 files: Pricing12.jsx, Pricing12.types.ts, Pricing12.tailwind.css
- Typed data shapes: ComparisonPlan, ComparisonRow.
- Uses React hooks: useEffect, useRef.
- ARIA in the markup: aria-label.
- HTML elements used: section, table, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.