HTML CSS examples for CSS Property:transform
Rotate -20 (minus) degrees
<html> <head> <style> div {<!--from ww w .ja v a 2s. c om--> width: 300px; height: 100px; background-color:red; border: 1px solid black; } div#myDiv { /* IE 9 */ -ms-transform: rotate(-20deg); /* Safari */ -webkit-transform: rotate(-20deg); /* Standard syntax */ transform: rotate(-20deg); } </style> </head> <body> <div> book 2s .com. </div> <div id="myDiv"> book 2s .com </div> </body> </html>