BetaCodophile is currently in active development. Features may change rapidly! 🚀
Back to CSS

3D Transforms

Control perspective and rotate elements in 3D space.

Parent Container Properties

200px
50%
50%

Element Transform

0px
0px
0px
0deg
0deg
0deg
1
1
1
50%
50%
Parent Container
3D Object
CSS Output
.parent {
perspective: 200px;
perspective-origin: 50% 50%;
transform-style: flat;
}
.child {
transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
transform-origin: 50% 50%;
}