Every app that sells something has the same page: three cards side by side, a price in big numbers, a list of what you get, a button, and one card in the middle that says "Most popular". You've seen it a hundred times. Today we build that pattern from scratch, with our own plans and our own colours, and I'll show you the four small CSS tricks that make it look finished instead of almost right.
Here's the short answer first. A pricing table is a CSS grid of cards that wraps on its own with repeat(auto-fit, minmax(...)). Each card is a flex column, and the button gets margin-top: auto so every button sits on the same line. The favourite plan gets a border and a badge, not a zoom. Prices use tabular numbers and live in cents. That's the whole thing.
If you're a beginner, read it top to bottom and click every live demo, because seeing the difference is worth more than my words. If you already write CSS every day, jump to the section about the highlighted card and then to the one about subgrid.…