How to center an image within a flex item (cell)
问题 I have a 3x3 flexbox with an icon and title in each item/cell. I am just trying to horizontally center the icon (svg image). I tried justify-content: center; but it doesn't seem to work. Can any tell me how to horizontally center an image within a flexbox item (or cell, as I am referring to it as)? Code below. HTML: <div class="grid"> <div class="cell"> <img src="images/cs_icon_01.svg"> <div class="service-title">Materials Handling, Warehousing & Storage Facility Management</div> </div> <div