そのため、サイズを変更せずにサイズ変更バーを使用して画像を引き伸ばそうとしています。また、できればアスペクト比も維持できれば助かります。私は数日間検索して、さまざまなことを試してきました。私は独学のhtmlです。:(誰かが私を案内してもらえますか?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
body{
text-align:center;
}
.asd{
width:500px;
overflow:auto;
resize:both;
}
.qwer{
background-color:blue;
width: 100%;
height:100%;
}
.asdf{
display:block;
}
</style>
</head>
<body>
<div class="asd">
<div class="qwer">
<div class="asdf"><img src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQNn0ZQI8Xa1XrrCNdvIxslsIiIC67HmV6BxVTTgIhEPehwsDU7" width="225" height="225" /></div>
</div>
</div>
</body>
</html>