Blog

Cross Browser 2D Transforms

shutterstock_234378844
BLOG / Web Development

Cross Browser 2D Transforms

2D Transforms is the method of transforming an element including rotating, scaling, etc.

Browser Support

2D Transforms is already supported by all major browser so it should be really easy to get it working cross browser.

Code Example

You can use 2D Transforms like this:

div {
  transform: scale(2) rotate(45deg);
  transform: scale(2) rotate3d(0, 0, 1, 45deg);
}

More Information

More information can be found here.