---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://divkit.tech/docs/en/concepts/divs/2/div-rotation-transformation.md
  - https://divkit.tech/docs/ru/concepts/divs/2/div-rotation-transformation.md
---
> **Documentation Index:** Fetch the complete configuration index at https://divkit.tech/docs/en/llms.txt

# div-rotation-transformation
Rotation transformation.

## Parameters
| Parameters | Description |
| --- | --- |
| `angle` | <p>**number**</p><p>Required parameter.</p><p>Rotation angle in degrees.</p><p>Available platforms: web.</p> |
| `type` | <p>**string**</p><p>Required parameter.</p><p>The value must always be `rotation`.</p><p>Available platforms: web.</p> |
| `pivot_x` | <p>**object**</p><p>X coordinate of the rotation pivot point.</p><p>The value has the type `div-pivot`.</p><p>Default value: `{"type": "pivot-percentage","value":50}`.</p><p>Available platforms: web.</p><p>List of possible values:<li>[div-pivot-fixed](div-pivot-fixed.md#div-pivot-fixed)</li><li>[div-pivot-percentage](div-pivot-percentage.md#div-pivot-percentage)</li></p> |
| `pivot_y` | <p>**object**</p><p>Y coordinate of the rotation pivot point.</p><p>The value has the type `div-pivot`.</p><p>Default value: `{"type": "pivot-percentage","value":50}`.</p><p>Available platforms: web.</p><p>List of possible values:<li>[div-pivot-fixed](div-pivot-fixed.md#div-pivot-fixed)</li><li>[div-pivot-percentage](div-pivot-percentage.md#div-pivot-percentage)</li></p> |

<details>
<summary>JSON</summary>

```json
{
  type*: "rotation",
  angle*: "number",
  pivot_x: div-pivot,
  pivot_y: div-pivot
}
```
</details>
