Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
#img1 {
  transform: rotateY(40deg);
}
#img2 {
  transform: rotateY(60deg);
}
#img3 {
  transform: rotateY(80deg);
}
</style>
</head>
<body>
<h1>The rotateY() Function</h1>
<p>rotateY(40deg):</p>
<img id="img1" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<p>rotateY(60deg):</p>
<img id="img2" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<p>rotateY(80deg):</p>
<img id="img3" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<p>Original image:</p>
<img src="pineapple.jpg" alt="Pineapple" width="300" height="300">
</body>
</html>