CSS property: -webkit-transform

Description

Specifies transformations to be applied to an element.

The -webkit-transform property specifies a list of transformations, separated by whitespace, to be applied to an element, such as rotation, scaling, and so on.

The set of transform functions is similar to those allowed by SVG, although there are additional functions to support 3D transformations. If multiple transforms are applied, the transform is generated by performing a matrix concatenation of each transform in the list.

Syntax

-webkit-transform: <function> ... ;

Values

none

No transforms are applied.

<function>

A transform function. Possible values are described in "Visual Effects Transform Functions".

Versions

Examples

p {
    -webkit-transform: rotate(45deg);
}