Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
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
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
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
CSS Transforms Module Level 2 # transform-functions CSS Transforms Module Level 1 # transform-property
/* 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;
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.
Data sourced from
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 NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?