A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/css/functions/matrix below:

matrix() ยท WebPlatform Docs

matrix() Summary

Defines a two dimensional transformation in matrix format.

Examples
-webkit-transform: matrix(1, 0, 0.5, 1, 10, 0);
-o-transform: matrix(1, 0, 0.5, 1, 10, 0);
transform: matrix(1, 0, 0.5, 1, 10, 0);

View live example

Notes Remarks

This function defines a two dimensional transformation in matrix format.

That is, a function matrix(a,b,c,d,e,f) which holds 6 parameters as numbers, each one controlling one transformation factor. In fact, matrix() combines all the CSS transformation functions (translate, skew, etc.) in one command. For example, the new position of a point (x,y) will be such that:

newX = a*x + c*y + e

and

newY = b*x + d*y + f

For more information about transformation matrices, see Mathematical Description of Transform Functions, in the CSS3 Transforms specification.

Syntax

matrix ( <number> , <number> , <number> , <number> , <number> , <number> )

Parameters
number
A matrix value.
Standards information See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4