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
Mixed Post Types Grid in Bricks

Mixed Post Types Grid in Bricks

How to set up a mixed post types grid in Bricks, where you can display both standard posts and custom quote cards in alternating positions.
Categories:
Bricks Query Loop – Posts Authored by Logged in User

Bricks Query Loop – Posts Authored by Logged in User

How to display only the posts authored by the currently logged-in user in a query loop.
Categories:
Pro
ACF User Field Bricks PHP Query

ACF User Field Bricks PHP Query

In the Bricks Facebook group a user asks: my end goal was to create a set of cards that would display the Users that are…
Categories:
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:
Pro
Related Posts by Taxonomy in Bricks

Related Posts by Taxonomy in Bricks

In the previous Posts Related by Current Post's Terms in Bricks tutorial, we showed how posts related to the current single post that have the…
Categories:
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…