CSS - Flipping an image – transform


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. img.flip {
  2. -moz-transform: scaleX(-1);
  3. -o-transform: scaleX(-1);
  4. -webkit-transform: scaleX(-1);
  5. transform: scaleX(-1);
  6. filter: FlipH;
  7. -ms-filter: "FlipH";
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.