Rotate
Usage
Please refer to the
documentation on the Tailwind CSS website
Compatibility
| Class | Support |
|---|---|
rotate-{n} | ✅ Full Support |
rotate-[n] | ✅ Full Support |
Legend
tip
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.