在图像HTML中滚动图像

我有一张手机图片,所以当我在图片里滚动时。图片中的内容应该上下滚动。.我知道我必须在移动图片中放置一个长图片,这样我才能看到滚动变化。怎么做..如果有任何库或软件,请告诉我 谢谢 如果您没有问题,请发表评论 .................................... ................................................... .............. ................................................... .....................

twinsen_zx 回答:在图像HTML中滚动图像

对不起,我仍然无法理解您的问题。这是您需要的答案吗?

<html lang="en">
    <style>
      .image{
        width: 300px;
        height: 300px;
        overflow: auto;
      }
    </style>
</head>
<body>
  <div class="image">
    <img src="https://wallpapercave.com/wp/wp2068958.jpg" alt="myImage">
  </div>
</body>
</html>

本文链接:https://www.f2er.com/2514180.html

大家都在问