# matrix() function

Specifies a 2-D transformation in the form of a transformation matrix of six values (a through f).

## Syntax

matrix

```( <number> , <number> , <number> , <number> , <number> , <number> )```

number

A matrix value.

## Remarks

A 2-D 3×2 matrix with six parameters a, b, c, d, e, and f is equivalent to the following transformation matrix: For more information about transformation matrices, see Mathematical Description of Transform Functions, in the CSS3 Transforms specification.