Problem with grid view

Hi every one the below screen shot is from codepen which is working fine in chrome browser

The below is the screen shot from android emulator which is not working as expected

here is the codepen

anyone have any idea
please help me out
Thanks in advance.

Please respond