Module rotate

Module rotate 

Source
Expand description

Utilities for rotating elements with transform.

Class Properties
rotate-<integer>transform: rotate(<integer>deg);
rotate-x-<integer>transform: rotateX(<integer>deg);
rotate-y-<integer>transform: rotateY(<integer>deg);
rotate-z-<integer>transform: rotateZ(<integer>deg);

§Tailwind compatibility

Rotate values don’t follow Tailwind’s philosophy of limiting possible values and all numbers are supported. They are however perfectly compatible with Tailwind’s values.

§Arbitrary values

Any <angle> property is allowed as arbitrary value. For example, rotate-[0.42turn].

§Negative values

This plugin supports negative values. For example, -rotate-90 or hover:-rotate-90.

Tailwind reference