ing flex and grid for img