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