In this example you will learn, how to create a responsive image with CSS. Following is the code to create a responsive image with CSS:
<meta name="viewport" content="width=device-width, initial-scale=1">
<h1>Responsive Images Example</h1>
<h2>Resize the window to see responsive image scale up and down</h2>
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.