The <angle>
data type consists of a <number>
followed by one of the units listed below. As with all dimensions, there is no space between the unit literal and the number. The angle unit is optional after the number 0
.
Optionally, it may be preceded by a single +
or -
sign. Positive numbers represent clockwise angles, while negative numbers represent counterclockwise angles. For static properties of a given unit, any angle can be represented by various equivalent values. For example, 90deg
equals -270deg
, and 1turn
equals 4turn
. For dynamic properties, like when applying an animation
or transition
, the effect will nevertheless be different.