how to fit content in div without resizing div css 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;
}