Next-Gen App & Browser
Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

CSS3 2D Transforms

Make elements spin, scale, move and morph into new shapes. Transform allows many attributes to be changed. Not only can you rotate and scale elements, you can also animate these transformations!

Last updated on : 2023-03-20

Browser Versions

IEIE

EdgeEdge

FirefoxFirefox

ChromeChrome

SafariSafari

OperaOpera

5.5 - 8
Test on IE 5.5 - 8 ...
9 - 11
Test on IE 9 - 11 ...
12 - 111
Test on Edge 12 - 111 ...
2 - 3
Test on Firefox 2 - 3 ...
3.6 - 113
Test on Firefox 3.6 - 113 ...
4 - 114
Test on Chrome 4 - 114 ...
3.2 - 16.4
Test on Safari 3.2 - 16.4 ...
9.5 - 10
Test on Opera 9.5 - 10 ...
10.5 - 95
Test on Opera 10.5 - 95 ...

...Fully Supported

...Partially

...No Support

Formal Definition

Inherited

no

Applies to

transformable elements

Percentages

refer to the size of bounding box

Initial value

none

Animation type

a transform

Computed value

as specified, but with relative lengths converted into absolute lengths

Creates stacking context

yes

Specifications

CSS Transforms Module Level 2 # transform-functions CSS Transforms Module Level 1 # transform-property

Syntax

/* Keyword values */
 transform: none;
 /* Function values */
 transform: matrix(1.0, 2.0, 3.0, 4.0, 5.0, 6.0);
 transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
 transform: perspective(17px);
 transform: rotate(0.5turn);
 transform: rotate3d(1, 2.0, 3.0, 10deg);
 transform: rotateX(10deg);
 transform: rotateY(10deg);
 transform: rotateZ(10deg);
 transform: translate(12px, 50%);
 transform: translate3d(12px, 50%, 3em);
 transform: translateX(2em);
 transform: translateY(3in);
 transform: translateZ(2px);
 transform: scale(2, 0.5);
 transform: scale3d(2.5, 1.2, 0.3);
 transform: scaleX(2);
 transform: scaleY(0.5);
 transform: scaleZ(0.3);
 transform: skew(30deg, 20deg);
 transform: skewX(30deg);
 transform: skewY(1.07rad);
 /* Multiple function values */
 transform: translateX(10px) rotate(10deg) translateY(5px);
 transform: perspective(500px) translate(10px, 0, 20px) rotateY(3deg);
 /* Global values */
 transform: inherit;
 transform: initial;
 transform: revert;
 transform: unset;

Browser Compatibility

CSS3 2D Transforms on IE is fully supported on 9-11, and not supported on 5.5-8 IE versions.

CSS3 2D Transforms on Edge is fully supported on all Edge versions.

CSS3 2D Transforms on Firefox is fully supported on 3.6-113, and not supported on 2-3 Firefox versions.

CSS3 2D Transforms on Chrome is fully supported on all Chrome versions.

CSS3 2D Transforms on Safari is fully supported on all Safari versions.

CSS3 2D Transforms on Opera is fully supported on 10.5-95, and not supported on 9.5-10 Opera versions.

CSS3 2D Transforms on Safari on iOS is fully supported on all Safari on iOS versions.

CSS3 2D Transforms on Android Browser is fully supported on all Android Browser versions.

CSS3 2D Transforms on Opera Mobile is fully supported on 11.5-73, and not supported on 10-10 Opera Mobile versions.

CSS3 2D Transforms on Chrome for Android is fully supported on all Chrome for Android versions.

CSS3 2D Transforms on Firefox for Android is fully supported on all Firefox for Android versions.

CSS3 2D Transforms on Samsung Internet is fully supported on all Samsung Internet versions.

100
Hightooltip

Overall Browser Compatibility Score

Note:CSS3 2D Transforms shows a browser compatibility score of 100. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.


Test on 3000+ browsers for CSS3 2D Transforms & more

Test your website for CSS3 2D Transforms and other web technologies. Get 100 FREE automation test minutes!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Powered E2E testing agent.

...
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Signup for free

Did you find this page helpful?

Helpful

NotHelpful