|
|
Responsive images are images that scale nicely to fit any browser size. Using the width PropertyIf the CSS
|
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h2>Responsive Image</h2>
<p>When the CSS width property is set in a percentage value, the image will scale up and down when resizing the browser window. Resize the browser window to see the effect.</p>
<img src="img_girl.jpg" style="width:100%;">
</body>
</html>
Category: | Web Tutorial |
Sub Category: | HTML Responsive |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference