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

matrix

matrix3d

perspective

rotate

rotate3d

rotateX

rotateY

scale

scale3d

scaleX

scaleY

scaleZ

skew

skewX

skewY

translate

translate3d

translateX

translateY

translateZ

abs

acos

asin

atan

atan2

attr

calc

clamp

color

conic-gradient

cos

counter

counters

hsl

hsla

hwb

lab

lch

linear-gradient

matrix

matrix3d

max

min

mod

oklab

oklch

param

perspective

radial-gradient

rem

repeating-conic-gradient

repeating-linear-gradient

repeating-radial-gradient

rgb

rgba

rotate

rotate3d

rotateX

rotateY

round

scale

scale3d

scaleX

scaleY

scaleZ

sin

skew

skewX

skewY

src

tan

translate

translate3d

translateX

translateY

translateZ

url

var

World Wide Web Consortium (W3C)

HomeMenu