Home
CSS
CSS Style Images
Tryit: Flip an image
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> img:hover { transform: scaleX(-1); } </style> </head> <body> <h2>Flip an Image</h2> <p>Move your mouse over the image.</p> <img src="paris.jpg" alt="Paris" width="400" height="300"> </body> </html>