Tailwind CSS Generator

Tailwind CSS 网格生成器

本页面提供了一个 Tailwind CSS 网格生成器工具,可以轻松创建自定义网格布局。

How to Use Tailwind CSS Grid Generator

  1. Choose your desired start and end colors using the color pickers.
  2. Select the gradient direction from the dropdown menu.
  3. Preview your gradient in the box at the top.
  4. Copy the generated Tailwind CSS class by clicking the copy button.
  5. Paste the copied class into your HTML element's class attribute.

Preview

1
2
3
4
5
6
7
8
9

Generated Tailwind CSS Class

grid grid-cols-1 grid-rows-3 sm:grid-cols-2 md:grid-cols-3 gap-4