Skip to content

Instantly share code, notes, and snippets.

@mklasen
Last active March 3, 2017 16:41
Show Gist options
  • Save mklasen/701cb885c3faa194899fe16e1d0ce9db to your computer and use it in GitHub Desktop.
Save mklasen/701cb885c3faa194899fe16e1d0ce9db to your computer and use it in GitHub Desktop.
Keep those photos the same height
<style>
.mk-flex-photo-container {
display: flex;
width: 100%;
justify-content: center;
box-shadow: 0 0 black;
}
.mk-flex-photo-container a {
margin: 0 10px;
}
.mk-flex-photo-container p {
text-align: center;
}
</style>
<div id="mk-flex-photo-container">
<a href="https://greencatphotography.com/galleries/portfolio-individuals/" style="
"><img class="alignnone size-full wp-image-5824" src="//greencatphotography.com/wp-content/uploads/2016/08/individual.jpg" alt="Elizabeth Hawkey - Long Island, NY Portrait Photographer" width="229" height="327" title=""><p></p>
<p>Individuals</p>
</a>
<a href="https://greencatphotography.com/albums/pets/"><img class="alignnone size-full wp-image-5825" src="//greencatphotography.com/wp-content/uploads/2016/08/pets.jpg" alt="Elizabeth Hawkey - Long Island, NY Pet Photographer" width="479" height="327" title=""><p></p>
<p>Pets</p>
</a>
<a href="https://greencatphotography.com/galleries/portfolio-family/"><img class="alignnone size-full wp-image-5823" src="//greencatphotography.com/wp-content/uploads/2016/08/family.jpg" alt="Elizabeth Hawkey - Long Island, NY Family Photographer" width="252" height="327" title=""><p></p>
<p>Families</p>
</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment