Flex Direction
Usage
Please refer to the
documentation on the Tailwind CSS website
tip
React Native has a different default flex direction to web. We highly recommend explicting setting the Flex Direction on your components.
Example
Compatibility
Class | Native (StyleSheet) | Web (CSS) |
---|---|---|
flex-row | ✅ | ✅ |
flex-row-reverse | ✅ | ✅ |
flex-col | ✅ | ✅ |
flex-col-reverse | ✅ | ✅ |