运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <body> <h2>Responsive Image</h2> <p>When the CSS width property is set to a percentage value, an image will scale up and down when resizing the browser window.</p> <p>Resize the browser window to see the effect.</p> <img src="img_girl.jpg" style="width:80%"> </body> </html>