matrix

The matrix CSS function specifies a 2D transformation in the form of a transformation matrix of the six values a, b, c, d, e, f.

Syntax

CSS

matrix()

Values

<matrix()> =
    matrix(
        <number>#{6}
    )
<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

Examples

1 · number

2 · JS

HomeMenu