So far I have tried like this. but can\'t take the elements inside the items at the center both vertically and horizontally? how can I do that?