x
 
<!DOCTYPE html>
<html>
<head>
<style>
#img1 {
  transform: scale(0.7);
}
#img2 {
  transform: scale(110%);
}
#img3 {
  transform: scale(1.1, 0.5);
}
</style>
</head>
<body>
<h1>scale() 函数</h1>
<p>scale(0.7):</p>
<img id="img1" src="/i/photo/tulip.jpg" alt="Tulip" width="300" height="300">
<p>scale(110%):</p>
<img id="img2" src="/i/photo/tulip.jpg" alt="Tulip" width="300" height="300">
<p>scale(1.1, 0.5):</p>
<img id="img3" src="/i/photo/tulip.jpg" alt="Tulip" width="300" height="300">
<p>原始图像:</p>
<img src="/i/photo/tulip.jpg" alt="Tulip" width="300" height="300">
</body>
</html>