A template for building 3D transformed web elements