The CSS transform property allows you to translate, rotate, scale, and skew elements. It is one of the most powerful tools for creating interactive and dynamic user interfaces.
Hover over the boxes below to see the transformations in action:
.box {
transform: rotate(20deg);
transform: scale(1.5);
transform: translate(20px, 10px);
}
transform properties are hardware accelerated, making them much smoother for animations.