<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>CSS3 matrix() Method</title> <style> img { -webkit-transform: matrix(0, -1, 1, 0, 200px, 50px); /* Chrome, Safari, Opera */ -moz-transform: matrix(0, -1, 1, 0, 200px, 50px); /* Firefox */ -ms-transform: matrix(0, -1, 1, 0, 200px, 50px); /* IE 9 */ transform: matrix(0, -1, 1, 0, 200px, 50px); /* Modern Browsers */ } </style> </head> <body> <div> <img src="examples/resources/css3-2d9.png" alt="Mushroom"> </div> </body> </html>