Question:
Backgrou
Your answer is here
.img-max { max-width: 500px; width:100%; }
and use the class in the image.
I have edited your fiddle. Please refer the link
jsfiddle.net/saravanan7944/ygamjz7s/1