16th Sep '25
/
9 comments

Staggered Entry Animations for Posts in Bricks Query Loops

This Pro tutorial provides the steps for animating the posts output by a Bricks query loop in a staggered animation.

We will cover 3 cases:

  1. once per page load
  2. once when scrolling from top to bottom as the posts come into view
  3. multiple times when scrolling from top to bottom or bottom to top as the posts come into view

CSS-only approach when the number of posts is known

If the number of posts is fixed/known, we can just use CSS. The downside is that the staggered animations run on page load and not when the posts come into view as they are scrolled to. If you prefer the fade in animations as the posts come into view, use the JavaScript approach detailed further down.

Set up your posts query loop.

If you want a head start, copy and paste the fully-built Section from here.

Select the query loop-enabled Block element, go to its CSS settings and add this class: query-loop-item

In the Page/Template PAGE SETTINGS, add this in Custom CSS:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Get access to all 610 Bricks code tutorials with BricksLabs Pro

Related Tutorials..

Pro
Nested Queries in Bricks – Posts Grouped by Published Years and Categories

Nested Queries in Bricks – Posts Grouped by Published Years and Categories

In the past we showed how posts could be grouped by years in Bricks. This Pro tutorial takes it further by grouping posts by categories…
Categories:
Pro
Dynamic Posts Lightbox in Bricks using GLightbox

Dynamic Posts Lightbox in Bricks using GLightbox

Steps to set create a dynamic lightbox with content from the post inside of the query loop.
Categories:
Pro
CPT Posts Grouped by Custom Taxonomy Terms in Bricks

CPT Posts Grouped by Custom Taxonomy Terms in Bricks

The steps to set up a Service Category terms loop with an inner Service posts loop in Bricks without writing code.
Categories:
Pro
Bricks Query Loop for Top-level Parent Pages with Children

Bricks Query Loop for Top-level Parent Pages with Children

In the Bricks Facebook group, a user asked: Looking for a custom query to output a list of posts in the same hierarchy that the…
Categories:
Displaying SureCart Featured Products & Products Collections with a Query Loop

Displaying SureCart Featured Products & Products Collections with a Query Loop

We walk through how to use a query loop to display SureCart products, featured products & collections.
Categories:
HappyFiles Bricks Query Loop

HappyFiles Bricks Query Loop

This tutorial explores different ways in which images from WordPress Media Library organized via HappyFiles can be pulled and shown in Bricks using query loop(s).…
Categories: