Rotate
Usage
Please refer to the documentation on the Tailwind CSS website
Compatibility
Class | Support |
---|---|
| ✅ Full Support |
| ✅ Full Support |
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
Always include the deg
unit when using arbitrary styles or setting rotate
values in your theme. e.g. rotate-[90deg]
.
React Native only supports deg
as a unit for rotation.