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

Related Tutorials..

Pro
Events grouped by Event Date custom field in Bricks

Events grouped by Event Date custom field in Bricks

This Pro tutorial for Bricks users provides the steps to output posts of an event custom post type dynamically grouped by the value of their…
Categories:
Pro
Post Titles and Post Content Tabs in Bricks

Post Titles and Post Content Tabs in Bricks

How to set up Nestable tabs with post titles as the tab menu, and post content and/or any other post-specific data as the tab content.
Categories:
Pro
ACF Post Object Query Loop inside a Posts Query Loop in Bricks

ACF Post Object Query Loop inside a Posts Query Loop in Bricks

How to loop through a CPT and within each post, output a list of related posts.
Categories:
Pro
Post Data for the Current User in Bricks with Meta Box

Post Data for the Current User in Bricks with Meta Box

How to configure a query loop to output the post data of the SalesRep CPT associated with the current user.
Categories:
Pro
Current Post’s Terms in Bricks

Current Post’s Terms in Bricks

Updated on 15 Jan 2024 This Pro tutorial provides the steps to set up a grid of terms (like categories) that the current post is…
How to animate notations on scroll using RoughNotation.js in Bricks

How to animate notations on scroll using RoughNotation.js in Bricks

This tutorial provides the PHP & JS codes that can be pasted in order to animate notations on scroll using the RoughNotation library inside the Bricks Builder.
Categories:
Pro
Query Loop Index in Bricks

Query Loop Index in Bricks

This Pro tutorial provides the code for getting the index of each post in Bricks' query loops. This can be used for either outputting the…
Categories: