Center an image inside a grid

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

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

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

1 Like