python(html 图片大小自适应)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<br>
    <div style="height: 200px;width: 300px">
        <img src="https://i1.wp.com/s1.ax1x.com/2018/03/29/9jezcV.jpg?resize=426%2C426&ssl=1">
    </div>
<br><br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>
    <div style="height: 200px;width: 300px;overflow: hidden">
        <img src="https://i1.wp.com/s1.ax1x.com/2018/03/29/9jezcV.jpg?resize=426%2C426&ssl=1">
    </div>
    <br><br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>
    <div style="height: 200px;width: 300px;overflow: auto">
        <img src="https://i1.wp.com/s1.ax1x.com/2018/03/29/9jezcV.jpg?resize=426%2C426&ssl=1">
    </div>
</body>
</html>

说点什么

avatar
  Subscribe  
提醒