Center an image inside a grid


#1

I would like to center an image inside a grid. When the image is too big, the image takes too much space.

See Ionic Play http://play.ionic.io/app/30b96b8f2219

Thanks


#2

Add a style in your css:
.image {
width: 100%;
}

Add this css-class in the div containing the image: class=“image”