how to auto fit image within div size without stretch code example
Example: css resize image to fit div no stretching
.div {
background-image: url(../images/your-image.png);
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}