--- title: CSS Transforms slug: Web/CSS/CSS_Transforms translation_of: Web/CSS/CSS_Transforms ---

{{CSSRef}}{{SeeCompatTable}}

CSS Transforms is a module of CSS that defines how elements styled with CSS can be transformed in two-dimensional or three-dimensional space.

Referencia

CSS Properties

Guides

Using CSS transforms
Step-by-step tutorial about how to transform elements styled with CSS.

Specifications

Specification Status Comment
{{ SpecName('CSS3 Transforms') }} {{ Spec2('CSS3 Transforms') }} Initial definition.

Browser compatibility

{{CompatibilityTable}}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support

{{CompatVersionUnknown}} {{property_prefix("-webkit")}}
36

{{CompatGeckoDesktop("1.9.1")}}{{property_prefix("-moz")}}[1]
{{CompatGeckoDesktop("16.0")}}[2]
9.0{{property_prefix("-ms")}}[3]
10.0
10.5{{property_prefix("-o")}}
12.10
15.0{{property_prefix("-webkit")}}
23
3.1{{property_prefix("-webkit")}}
3D Support 12.0{{property_prefix("-webkit")}}
36
10.0{{property_prefix("-moz")}}
{{CompatGeckoDesktop("16.0")}}
10.0 15.0{{property_prefix("-webkit")}}
23
4.0{{property_prefix("-webkit")}}
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{CompatAndroid(2.1)}}{{property_prefix("-webkit")}}[4] {{CompatVersionUnknown}}{{property_prefix("-webkit")}} {{CompatVersionUnknown}} {{CompatVersionUnknown}}
11.0{{property_prefix("-webkit")}}[5]
11.5{{property_prefix("-webkit")}} 3.2 {{CompatVersionUnknown}}{{property_prefix("-webkit")}}
3D Support {{CompatAndroid(3.0)}}{{property_prefix("-webkit")}} {{CompatVersionUnknown}}{{ property_prefix("-webkit")}} {{CompatVersionUnknown}} {{CompatVersionUnknown}} 22{{property_prefix("-webkit")}} 3.2 {{CompatVersionUnknown}}{{property_prefix("-webkit")}}

[1] Gecko 14.0 removed the experimental support for skew(), but it was reintroduced in Gecko 15.0 for compatibility reasons. As it is non-standard and will likely be removed in the future, do not use it.

[2] Before Firefox 16, the translation values of matrix() and matrix3d() could be {{cssxref("<length>")}}, in addition to the standard {{cssxref("<number>")}}.

[3] Internet Explorer 5.5 or later supports a proprietary Matrix Filter which can be used to achieve a similar effect.

Internet Explorer 9.0 or earlier has no support for 3D transforms, mixing 3D and 2D transform functions. such as -ms-transform:rotate(10deg) translateZ(0); will prevent the entire property from being applied.

[4] Android 2.3 has a bug where input forms will "jump" when typing, if any container element has a -webkit-transform.

[5] Internet Explorer 11.0 supports the {{property_prefix("-webkit")}} prefixed variant as an alias for the default one.