Skip to content

Instantly share code, notes, and snippets.

@ajchambeaud
Last active August 29, 2015 14:25
Show Gist options
  • Save ajchambeaud/b97b285c6d95504c32d1 to your computer and use it in GitHub Desktop.
Save ajchambeaud/b97b285c6d95504c32d1 to your computer and use it in GitHub Desktop.
image box
<div class="img-box">
<div class="image">
<img src="http://lorempixel.com/output/food-q-c-250-250-10.jpg">
</div>
<div class="text">
<p>Hola</p>
<p>Mundo</p>
</div>
<div>
.img-box .image{
display : inline-block;
vertical-align: middle;
}
.img-box .text{
vertical-align: middle;
display : inline-block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment