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