I want to put the image in the center of the div.
My div:
width: 95%;
padding: 2.5%;
max-width: 1200px;
height:100%;
but I can not put image in the center and responsive.
I had 50% of img and putting 25% of padding. But I want to use picture and recommended not to use text-align and
display: block; margin: 0 auto;
not function , does anyone know what to do?