HTML CSS examples for CSS Property:transform
Skew Y axis
<html> <head> <style> div {<!--from w w w .ja va 2 s. co m--> width: 300px; height: 100px; background-color:red; border: 1px solid black; } div#skewDiv { /* IE 9 */ -ms-transform: skewY(20deg); /* Safari */ -webkit-transform: skewY(20deg); /* Standard syntax */ transform: skewY(20deg); } </style> </head> <body> <div> book 2s .com. </div> <div id="skewDiv"> book 2s .com </div> </body> </html>