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