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 621 Bricks code tutorials with BricksLabs Pro

Related Tutorials..

Pro
Posts from Random Categories in Bricks

Posts from Random Categories in Bricks

Updated on 31 Jul 2023 In BricksLabs Facebook group a user asked: How would you query 3 WordPress posts from 3 different categories with Brick…
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
ACPT Gallery Field Query Loop in Bricks

ACPT Gallery Field Query Loop in Bricks

How we can output images from ACPT‘s Gallery field for posts as a grid using a query loop.
Categories:
Pro
Post-specific ACF Repeater Galleries as Sliders in Bricks

Post-specific ACF Repeater Galleries as Sliders in Bricks

How to output ACF Repeater field rows with the images of the Gallery-type sub field as a slider.
Filtering Bricks Posts Query Loop by Meta Box Group’s Radio Subfield Value

Filtering Bricks Posts Query Loop by Meta Box Group’s Radio Subfield Value

In the past we showed how a Bricks posts query loop can be filtered by Meta Box group's subfield of types text/number and Datepicker here.…
Categories:
How to integrate fullPage.js with Bricks

How to integrate fullPage.js with Bricks

This tutorial provides the JavaScript and CSS codes that can be pasted in order to integrate the JS library fullPage.js inside Bricks Builder.
Categories:
Pro
Parent Query Loop Object – Traversing Nested Query Loops Up in Bricks

Parent Query Loop Object – Traversing Nested Query Loops Up in Bricks

Bricks enables us to build nested query levels of unlimited levels. Here are a couple of examples: Sometimes, you might want to obtain the parent…
Categories: