In this example:
Ajax Load More will infinite scroll query results in a CSS Grid layout.


CSS
The following CSS was used to create the CSS Grid as seen this example.

The following shortcode was used to create the CSS Grid example.

[ajax_load_more theme_repeater="css-grid.php" button_label="Show More" button_loading_label="Loading data..." container_type="div" transition_container_classes="css-grid" posts_per_page="6"]