Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
#img1 {
  transform: scaleX(0.6);
}
#img2 {
  transform: scaleX(90%);
}
#img3 {
  transform: scaleX(-0.6);
}
#img4 {
  transform: scaleX(1.1);
}
</style>
</head>
<body>
<h1>The scaleX() Function</h1>
<p>scaleX(0.6):</p>
<img id="img1" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<p>scaleX(90%):</p>
<img id="img2" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<p>scaleX(-0.6):</p>
<img id="img3" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<p>scaleX(1.1):</p>
<img id="img4" 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>