Skip to main content
Version: v4

Rotate

Usage

Please refer to the

documentation on the Tailwind CSS website

Compatibility

ClassSupport
rotate-{n}✅ Full Support
rotate-[n]✅ 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

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.