Last updated on June 17, 2025

Flex

Usage

Please refer to the documentation on the Tailwind CSS website

Compatibility

ClassSupport
flex-1
โœ… Full Support
basis-[n]
โœ… Full Support
flex-auto
๐ŸŒ Web only
flex-initial
๐ŸŒ Web only
flex-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

On this page