Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS3 skew() Method</title> <style> img { -webkit-transform: skew(-40deg, 15deg); /* Chrome, Safari, Opera */ -moz-transform: skew(-40deg, 15deg); /* Firefox */ -ms-transform: skew(-40deg, 15deg); /* IE 9 */ transform: skew(-40deg, 15deg); /* Modern Browsers */ } .box{ margin: 50px; width:153px; height:103px; background: url("/examples/images/snail-transparent.png") no-repeat; } </style> </head> <body> <div class="box"> <img src="/examples/images/snail.png" alt="Snail"> </div> </body> </html>