Skip to content
Skip the list of specifications

rotate

below the visible threshold: 7 of 7 examples match Chrome

css-transforms-2

Differs from Chrome only by anti-aliasing: no pixel is more than 3 of 255 apart on any colour channel, apart from places that differed as much without the declaration. Curves, rotation, gradients and translucent colours land here.

What the specification says

Initial valuenone
Applies totransformable elements
Inheritedno
Percentagesn/a
Computed valuethe keyword none, or an <angle> with an axis consisting of a list of three <number>s
Syntaxnone | <angle> | [ x | y | z | <number>{3} ] && <angle>

The definition in css-transforms-2

The measurements

7 examples, all 7 match Chrome. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.

rotate:30deg, rotate:z 30deg

below the visible threshold
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome69
The same, on the page without the declaration0
Largest difference on one colour channel3 of 255
The same, on the page without the declaration0 of 255

What differs is anti-aliasing only.

The example’s page

rotate:2 2 2 30deg, rotate:0.4 0.4 0.4 30deg

below the visible threshold
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome33
The same, on the page without the declaration0
Largest difference on one colour channel3 of 255
The same, on the page without the declaration0 of 255

What differs is anti-aliasing only.

The example’s page

rotate:x 30deg

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

rotate:y 30deg

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

rotate:180deg

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome1,402
The same, on the page without the declaration1,402
Largest difference on one colour channel45 of 255
The same, on the page without the declaration45 of 255

The pages differ by 1,402 pixels with the declaration and by 1,402 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

Which values were measured

A match on one example means a match at the value tried. The property’s grammar has 6 branches, and 5 of them carry a measurement.

ValueMeasured
30deg
180deg
below the visible threshold
same effect as Chrome
x 30deg
same effect as Chrome
y 30deg
same effect as Chrome
z 30deg
below the visible threshold
2 2 2 30deg
0.4 0.4 0.4 30deg
below the visible threshold
below the visible threshold
nonenot measured

Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured