Line Height
Usage
Please refer to the
documentation on the Tailwind CSS website
Example
Compatibility
React Native does not support the relative line height utilities due to lack of support for em
units.
Class | Native (StyleSheet) | Web (CSS) |
---|---|---|
leading-{n} | ✅ | ✅ |
leading-[n] | ✅ | ✅ |
leading-none | ❌ | ✅ |
leading-tight | ❌ | ✅ |
leading-snug | ❌ | ✅ |
leading-normal | ❌ | ✅ |
leading-relaxed | ❌ | ✅ |
leading-loose | ❌ | ✅ |