How can I make image responsive?

am using following code to enlarge image on click... I have tried for media in css..

http://www.frontendwebhelp.com/javascript/thumbnail-popup-to-large-image.php

But I have added one more class in # modalPopupHtml # to adjust size of large image

.imgsize{
  height: 600px;
  width: 800px;
}

But now I want to make that large image responsive... when I Test that code on mobile view that time it is not working properly... what should I do to make it perfect fit for mobile screen...

Answers 1

Related Articles