img { vertical-align: middle; vertical-align: middle; background-size: cover; max-width: 100%; width: 100%; }