div > div {
    margin: auto;
    width: 33%;
    display: inline-block;
}

img {
    width: 100%;
    height: auto;
}