<html> <head> </head> <body> <div style="-moz-perspective: 1000px; -moz-perspective-origin: top left;"> <div style="-moz-transform: rotatex(45deg); width: 100px; height: 100px;"> Test Text </div> </div> </body> </html>