Control the Shared 3d Perspective of Multiple Elements with GreenSock

Share this video with your friends

Send Tweet

By default, elements use their own perspective, so if you rotate multiple elements on the page the perspective will seem a bit off for each of them. The solution is to set the perspective on the container element, then each child element will follow the parents' perspective.