Last Updated: February 25, 2016
·
520
· marioloncarek

Vertically align img or icon with text

Vertically aligning images and icons with text

<i class="ICON"></i> <span>GO TO CHECKOUT</span>
i {
  vertical-align:middle;
} 

<img src="IMG"> <span>GO TO CHECKOUT</span>
img {
  vertical-align:middle;
}