RESPONSIVE IMAGE in css

1. The element should responsively resize, relative to the width of its parent element, without exceeding its original size.

#img-div{
padding:10px;
background-color:white;
box-shadow:0 6px 16px;
width:100%;
height:auto;

}

#img-div img{
width:100%;
height:auto;
/*
width: 100%;
min-width: 400px;

margin:0 auto;
*/
}

i dont know the solution

Hi @subash1!

Welcome to the forum!

It will help to see your code