How can I make image responsive?

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

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

  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