HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

rotateZ

Description

The rotateZ function for CSS specifies a 3D rotation by the angle specified about the z direction vector.

Syntax

CSS

rotateZ()

Values

<rotateZ()> =
    rotateZ(
        [ <angle> | <zero> ]
    )
<angle>

A number with a unit: deg (360 degrees in a full circle), grad (400 gradians in a full circle), rad (2π radians in a full circle), or turn (1 turn in a full circle).

<zero>

Represents a literal number with the value 0.

Examples

1 · angle

2 · zero

3 · JS