Aspect Ratio
Usage
Please refer to the
documentation on the Tailwind CSS website
Example
Compatibility
Class | Native (StyleSheet) | Web (CSS) |
---|---|---|
aspect-auto | ✅ | ✅ |
aspect-video | ✅ | ✅ |
aspect-square | ✅ | ✅ |
Please refer to the
documentation on the Tailwind CSS website
Class | Native (StyleSheet) | Web (CSS) |
---|---|---|
aspect-auto | ✅ | ✅ |
aspect-video | ✅ | ✅ |
aspect-square | ✅ | ✅ |