Skip to main content
Version: v4

Grid Template Columns

Usageโ€‹

Please refer to the

documentation on the Tailwind CSS website

Compatibilityโ€‹

ClassSupport
grid-cols-1๐ŸŒ Web only
grid-cols-2๐ŸŒ Web only
grid-cols-3๐ŸŒ Web only
grid-cols-4๐ŸŒ Web only
grid-cols-5๐ŸŒ Web only
grid-cols-6๐ŸŒ Web only
grid-cols-7๐ŸŒ Web only
grid-cols-8๐ŸŒ Web only
grid-cols-9๐ŸŒ Web only
grid-cols-10๐ŸŒ Web only
grid-cols-11๐ŸŒ Web only
grid-cols-12๐ŸŒ Web only
grid-cols-none๐ŸŒ Web only
Legend

Classโ€‹

-{n} Supports values from theme

-[n] Supports arbitrary values

Iconโ€‹

โœ… Full support

โœ”๏ธ Partial support on native

๐Ÿงช Experimental support on native

๐Ÿ“ฑ Native only

๐ŸŒ Web only