<!DOCTYPE html>
<html>
<head>
<style>
#img1 {
transform: matrix(1, -0.3, 0, 1, 0, 50);
}
#img2 {
transform: matrix(1, 0, 0.5, 1, 50, 50);
}
#img3 {
transform: matrix(2, 1, 0.5, 1, 90, 70);
}
</style>
</head>
<body>
<h1>The matrix() function</h1>
<p>The parameters are as follow: matrix(scaleX(), skewY(), skewX(), scaleY(), translateX(), translateY()).</p>
<img id="img1" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<img id="img2" src="pineapple.jpg" alt="Pineapple" width="300" height="300">
<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>