Pricing cards


In the previous lesson, we learned how to use the basic cards in Tailwind. Now we will use this knowledge to create custom cards that will be used to build the pricing section.

Step 1 - add pricing section with a grid

Below the "Details" section, add another "Pricing" section. Place a grid with 3 columns and lg breakpoint in it. Also, add a heading.

Step 2 - add pricing cards

Now let's add empty cards containing only the header with the title.

Pricing

Basic
Advanced
Enterprise

Step 3 - add prices, buttons and lists

We have already learned all this in previous lessons, so there is no point in dwelling on it.

Basic

$ 129 /year

  • Unlimited updates
  • Git repository
  • npm installations

Let's add similar content to the rest of the cards. Of course, you can customize the texts to your preferences.

This is what the finished "Pricing" section should look like:




John Doe

About author

Michal Szymanski

Co Founder at TW Elements and MDBootstrap / Listed in Forbes „30 under 30" / Open-source enthusiast / Dancer, nerd & book lover.

Author of hundreds of articles on programming, business, marketing and productivity. In the past, an educator working with troubled youth in orphanages and correctional facilities.