Your code is ok if you want your mesh to look squashed on the z axis.
Here is another way, using CSS.