css scale image to fit div without stretching 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;
}