transform
Widely availableSince 201597% of users
Applies 2D or 3D transformations to an element, allowing you to rotate, scale, skew or move it in space.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyClassicIt has worked everywhere since September 2015.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
none- Inherited
- No
- Applies to
- transformable elements
- Animation type
- transform
Quick example
.card:hover {
transform: translateY(-10px) scale(1.05);
/* lifts and slightly enlarges the card on hover */
}Values
nonetransform browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
36+
16+
9+
12+Mobile
36+Android
16+Android
9+iOS