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

matrix

Description

The matrix function for CSS 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

matrix3d

perspective

rotate

rotate3d

rotateX

rotateY

rotateZ

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

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

rotateZ

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